| 1 | <?php |
||
| 8 | abstract class AbstractArrayParser extends AbstractParser { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var ParserFactory |
||
| 12 | */ |
||
| 13 | protected $parserFactory; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * AbstractParser constructor. |
||
| 17 | */ |
||
| 18 | public function __construct() { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param array $data |
||
| 26 | * |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | protected function parseArrayData(array $data) { |
||
| 38 | |||
| 39 | protected function parseEntryData($id, $entry) { |
||
| 67 | |||
| 68 | } |
||
| 69 |
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.