1 | <?php |
||
7 | class TagFactory |
||
8 | { |
||
9 | /** @var DocblockTag|null Current tag */ |
||
10 | protected $current; |
||
11 | |||
12 | /** @var DocblockTag[] All tag */ |
||
13 | protected $tags; |
||
14 | |||
15 | /** |
||
16 | * DocblockTag constructor |
||
17 | */ |
||
18 | public function __construct() |
||
23 | |||
24 | public function parseLine($line) |
||
34 | |||
35 | public function getTags() |
||
40 | |||
41 | protected function createTag($line) |
||
48 | |||
49 | protected function storeCurrentTag() |
||
58 | |||
59 | protected function accumulateContent($line) |
||
67 | } |
||
68 |
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..