Fixed some deprecations.

This commit is contained in:
Jan Böhmer 2022-08-14 19:09:07 +02:00
parent 4fa8eef1bf
commit 5fd608f42a
59 changed files with 202 additions and 165 deletions

View file

@ -38,7 +38,7 @@ class LastUserExtension extends AbstractExtension
$this->repo = $em->getRepository(AbstractLogEntry::class);
}
public function getFunctions()
public function getFunctions(): array
{
return [
new TwigFunction('getLastEditingUser', [$this->repo, 'getLastEditingUser']),