Tell PhpStorm not to complain about reference mismatch

http://blog.jpauli.tech/2014/06/27/references-mismatch.html#what-is-a-reference-mismatch
This commit is contained in:
Fonata
2018-03-17 12:03:38 +01:00
parent c8d15557cb
commit 4b60d38fb0

View File

@@ -797,6 +797,7 @@ class Csv {
$entry = array();
// create heading
/** @noinspection ReferenceMismatchInspection */
$fieldOrder = $this->_validate_fields_for_unparse($fields);
if (!$fieldOrder && !empty($data)) {
$column_count = count($data[0]);