fixed warnings
This commit is contained in:
@@ -60,7 +60,7 @@ class ClassParser
|
||||
return $this->metadata;
|
||||
}
|
||||
|
||||
public function setAllowedMethods(array $methods)
|
||||
public function setAllowedMethods($methods)
|
||||
{
|
||||
$this->allowedMethods = $methods;
|
||||
}
|
||||
|
||||
@@ -369,6 +369,8 @@ class Metadata
|
||||
|
||||
public function setOrmMetadata(array $ormMeta)
|
||||
{
|
||||
$result = true;
|
||||
|
||||
if ($this->getConfig()->get('useCache')) {
|
||||
$result = $this->getFileManager()->putPhpContents($this->ormCacheFile, $ormMeta);
|
||||
if ($result == false) {
|
||||
|
||||
Reference in New Issue
Block a user