NamespaceLoader fix
This commit is contained in:
@@ -195,6 +195,9 @@ class NamespaceLoader
|
||||
|
||||
if (file_exists($this->vendorNamespacesCacheFile) && $this->getConfig()->get('useCache')) {
|
||||
$this->vendorNamespaces = $this->getFileManager()->getPhpContents($this->vendorNamespacesCacheFile);
|
||||
if (!is_array($this->vendorNamespaces)) {
|
||||
$this->vendorNamespaces = [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user