mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
add types for missing ones
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
eaabc8e4b0
commit
8089ab83cf
6 changed files with 19 additions and 60 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue