| 1 | <?php |
||
| 11 | class RouterFactory implements FactoryInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | private $routes; |
||
| 17 | /** |
||
| 18 | * @var Router |
||
| 19 | */ |
||
| 20 | private $router; |
||
| 21 | |||
| 22 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
||
| 39 | |||
| 40 | private function getRouter() |
||
| 45 | |||
| 46 | private function addRoutes() |
||
| 52 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..