1 | <?php |
||
16 | class NodeEnv |
||
17 | { |
||
18 | |||
19 | public $seenNames; |
||
20 | |||
21 | /** |
||
22 | * @var \LesserPhp\NodeEnv |
||
23 | */ |
||
24 | private $parent; |
||
25 | |||
26 | /** |
||
27 | * @var array |
||
28 | */ |
||
29 | private $store = []; |
||
30 | |||
31 | /** |
||
32 | * @var \stdClass |
||
33 | */ |
||
34 | private $block; |
||
35 | |||
36 | /** |
||
37 | * @var array|null |
||
38 | */ |
||
39 | private $selectors; |
||
40 | |||
41 | /** |
||
42 | * @var array|null |
||
43 | */ |
||
44 | private $arguments = []; |
||
45 | |||
46 | /** |
||
47 | * @var array |
||
48 | */ |
||
49 | private $imports = []; |
||
50 | |||
51 | /** |
||
52 | * @return \LesserPhp\NodeEnv |
||
53 | */ |
||
54 | 49 | public function getParent() |
|
58 | |||
59 | /** |
||
60 | * @param \LesserPhp\NodeEnv $parent |
||
61 | */ |
||
62 | 49 | public function setParent($parent) |
|
66 | |||
67 | /** |
||
68 | * @return array |
||
69 | */ |
||
70 | 28 | public function getStore() |
|
74 | |||
75 | /** |
||
76 | * @param array $store |
||
77 | */ |
||
78 | 49 | public function setStore($store) |
|
82 | |||
83 | 27 | public function addStore($index, $value) |
|
87 | |||
88 | /** |
||
89 | * @return \stdClass |
||
90 | */ |
||
91 | 3 | public function getBlock() |
|
95 | |||
96 | /** |
||
97 | * @param string $block |
||
98 | */ |
||
99 | 49 | public function setBlock($block) |
|
103 | |||
104 | /** |
||
105 | * @return array |
||
106 | */ |
||
107 | 46 | public function getSelectors() |
|
111 | |||
112 | /** |
||
113 | * @param array $selectors |
||
114 | */ |
||
115 | 46 | public function setSelectors($selectors) |
|
119 | |||
120 | /** |
||
121 | * @return mixed |
||
122 | */ |
||
123 | 3 | public function getArguments() |
|
127 | |||
128 | /** |
||
129 | * @param mixed $arguments |
||
130 | */ |
||
131 | 16 | public function setArguments($arguments) |
|
135 | |||
136 | /** |
||
137 | * @param null $index |
||
138 | * |
||
139 | * @return array |
||
140 | */ |
||
141 | 3 | public function getImports($index = null) |
|
148 | |||
149 | /** |
||
150 | * @param array|null $imports |
||
151 | */ |
||
152 | public function setImports($imports) |
||
156 | |||
157 | 3 | public function addImports($index, $value) |
|
161 | } |
||
162 |
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..