Fixed some return type deprecation messages

This commit is contained in:
Jan Böhmer 2023-04-15 19:33:39 +02:00
parent 558440168d
commit 1cee1abe00
37 changed files with 70 additions and 70 deletions

View file

@ -32,7 +32,7 @@ final class MiscExtension extends AbstractExtension
$this->eventCommentNeededHelper = $eventCommentNeededHelper;
}
public function getFunctions()
public function getFunctions(): array
{
return [
new \Twig\TwigFunction('event_comment_needed',

View file

@ -54,7 +54,7 @@ final class TwigCoreExtension extends AbstractExtension
];
}
public function getFilters()
public function getFilters(): array
{
return [
/* Converts the given object to an array representation of the public/accessible properties */