mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
fix(CI): Fix Psalm and CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
cb67aaaded
commit
f42e430a9c
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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}',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue