← All changes
|
backend/src/System/Container/CachingReflector.php
+1
-1
0.7.0.3
→
1.5.5.1
View file →
| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | |
| 13 | 13 | private $reflector; |
| 14 | 14 | private $cache; |
| 15 | 15 | |
| 16 | - public function __construct( Reflector $reflector = null, ReflectionCache $cache = null ) { | |
| 16 | + public function __construct( ?Reflector $reflector = null, ?ReflectionCache $cache = null ) { | |
| 17 | 17 | $this->reflector = $reflector ?: new StandardReflector; |
| 18 | 18 | $this->cache = $cache ?: new ReflectionCacheArray; |
| 19 | 19 | } |
| 20 | 20 | |