Skip to content

Commit 461571d

Browse files
committed
Reflection: added support for PHP 7.2 type 'object'
1 parent 2422972 commit 461571d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/Reflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class Reflection
2020
use Nette\StaticClass;
2121

2222
private static $builtinTypes = [
23-
'string' => 1, 'int' => 1, 'float' => 1, 'bool' => 1, 'array' => 1,
23+
'string' => 1, 'int' => 1, 'float' => 1, 'bool' => 1, 'array' => 1, 'object' => 1,
2424
'callable' => 1, 'iterable' => 1, 'void' => 1,
2525
];
2626

0 commit comments

Comments
 (0)