fixed warnings

This commit is contained in:
Taras Machyshyn
2015-02-09 12:14:27 +02:00
parent 96d0a7db00
commit 00b0c904ae
2 changed files with 3 additions and 1 deletions
@@ -60,7 +60,7 @@ class ClassParser
return $this->metadata;
}
public function setAllowedMethods(array $methods)
public function setAllowedMethods($methods)
{
$this->allowedMethods = $methods;
}
+2
View File
@@ -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) {