1 | <?php |
||
11 | final class ServiceServiceProvider extends AbstractServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | private $config; |
||
17 | |||
18 | /** |
||
19 | * @api |
||
20 | * |
||
21 | * @param ServiceConfig $config |
||
22 | */ |
||
23 | public function __construct(ServiceConfig $config) |
||
28 | |||
29 | public function register() |
||
35 | |||
36 | /** |
||
37 | * @param ServiceDefinition $definition |
||
38 | * |
||
39 | * @return void |
||
40 | * |
||
41 | * @throws NotClassDefinitionException |
||
42 | */ |
||
43 | private function registerService(ServiceDefinition $definition) |
||
58 | |||
59 | /** |
||
60 | * @param ClassDefinition $service |
||
61 | * @param ServiceDefinition $definition |
||
62 | */ |
||
63 | private function addMethodCalls(ClassDefinition $service, ServiceDefinition $definition) |
||
69 | } |
||
70 |
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..