Conditions | 4 |
Paths | 4 |
Total Lines | 17 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
65 | * @param array $objPHPExcel (Масив данных полученных с помощью toArray()) |
||
66 | * |
||
67 | * @return array |
||
68 | */ |
||
69 | public function getData(array $objPHPExcel) |
||
70 | { |
||
71 | $data = array(); |
||
72 | |||
73 | foreach ($objPHPExcel as $key => $item) |
||
74 | { |
||
75 | foreach ($item as $value) |
||
76 | { |
||
77 | if (!is_null($value)) |
||
78 | { |
||
79 | $data[$key][] = $value; |
||
80 | } |
||
81 | } |
||
82 | } |
||
87 |
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..