Fix specific [skip ci]

This commit is contained in:
James Cole 2015-07-09 15:27:40 +02:00
parent bc525e7272
commit 9afd5cb277
2 changed files with 3 additions and 3 deletions

View File

@ -247,7 +247,7 @@ class Data
*/ */
public function getSpecifix() public function getSpecifix()
{ {
return $this->specifix; return is_array($this->specifix) ? $this->specifix : [];
} }
/** /**

View File

@ -41,7 +41,7 @@ class Importer
/** @var int */ /** @var int */
protected $rows = 0; protected $rows = 0;
/** @var array */ /** @var array */
protected $specifix; protected $specifix = [];
/** /**
* Used by CsvController. * Used by CsvController.
@ -207,7 +207,7 @@ class Importer
*/ */
public function getSpecifix() public function getSpecifix()
{ {
return $this->specifix; return is_array($this->specifix) ? $this->specifix : [];
} }
/** /**