Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
106 | public function toArray() |
||
107 | { |
||
108 | $data = [ |
||
109 | 'size' => $this->size, |
||
110 | 'baseUrl' => $this->getBaseUrl(), |
||
111 | 'options' => $this->getOptions(), |
||
112 | ]; |
||
113 | if (($plugins = $this->getPlugins())) { |
||
114 | $data['plugins'] = $plugins; |
||
115 | } |
||
116 | |||
117 | return parent::toArray() + $data; |
||
118 | } |
||
119 | } |
||
120 |
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..