diff --git a/src/ErrorHandler.php b/src/ErrorHandler.php index 1a6aba7..50901a0 100644 --- a/src/ErrorHandler.php +++ b/src/ErrorHandler.php @@ -257,7 +257,7 @@ public function getErrorsByFile ($cbXMLFile, $fileName) public function getFilesWithErrors ($cbXMLFileName) { $element = $this->cbXMLHandler->loadXML($cbXMLFileName); - $files = null; + $files = array(); $path = ''; foreach ($element->children() as $file) {