add types for missing ones

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-01-02 13:00:57 +01:00
parent eaabc8e4b0
commit 8089ab83cf
6 changed files with 19 additions and 60 deletions

View file

@ -14,7 +14,7 @@ class ClassExtension extends TwigExtension
);
}
public function getClassName($object) : ?string
public function getClassName(mixed $object) : ?string
{
if (!is_object($object)) {
return null;