1 | <?php |
||
11 | class Sitemap implements DirectiveInterface |
||
12 | { |
||
13 | use UrlToolbox; |
||
14 | |||
15 | /** |
||
16 | * Directive |
||
17 | */ |
||
18 | const DIRECTIVE = 'Sitemap'; |
||
19 | |||
20 | protected $parent; |
||
21 | protected $array = []; |
||
22 | |||
23 | public function __construct($array, $parent = null) |
||
27 | |||
28 | /** |
||
29 | * Add |
||
30 | * |
||
31 | * @param string $line |
||
32 | * @return bool |
||
33 | */ |
||
34 | public function add($line) |
||
45 | |||
46 | public function export() |
||
50 | } |
||
51 |
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..