fix(CI): Fix Psalm and CS

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-05-05 00:00:29 +02:00
parent cb67aaaded
commit f42e430a9c
No known key found for this signature in database
GPG key ID: C400AAF20C1BB6FC
2 changed files with 1 additions and 2 deletions

View file

@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCA\Talk\Controller;
use InvalidArgumentException;
use OCA\Mail\Service\Avatar\Avatar;
use OCA\Talk\Middleware\Attribute\RequireModeratorParticipant;
use OCA\Talk\Middleware\Attribute\RequireParticipant;
use OCA\Talk\Service\AvatarService;

View file

@ -237,7 +237,7 @@ class AvatarService {
return new InMemoryFile($token, file_get_contents($this->getAvatarPath($room, $darkTheme)));
}
protected function getEmojiAvatar(string $emoji, ?string $fillColor): string {
protected function getEmojiAvatar(string $emoji, string $fillColor): string {
return str_replace([
'{letter}',
'{fill}',