1 | <?php |
||
7 | class NamespaceBlock extends Reflector |
||
8 | { |
||
9 | /** |
||
10 | * @var Collection |
||
11 | * @readable |
||
12 | */ |
||
13 | protected $definitions; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | * @readable |
||
18 | */ |
||
19 | protected $namespace; |
||
20 | |||
21 | /** |
||
22 | * @var ReflectionFile |
||
23 | * @readable |
||
24 | */ |
||
25 | protected $file; |
||
26 | |||
27 | /** |
||
28 | * @var UseStatement[] |
||
29 | * @readable |
||
30 | */ |
||
31 | protected $useStatements; |
||
32 | |||
33 | 6 | public function __construct(string $namespace) |
|
39 | } |
||
40 |
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..