@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | if (false === (@file_put_contents($path, |
| 52 | - '<?php return unserialize(' . var_export(serialize($metadata), true) . ');') |
|
| 52 | + '<?php return unserialize('.var_export(serialize($metadata), true).');') |
|
| 53 | 53 | )) { |
| 54 | 54 | throw new \RuntimeException("Can't not write new cache file to {$path}"); |
| 55 | 55 | }; |
@@ -76,6 +76,6 @@ discard block |
||
| 76 | 76 | */ |
| 77 | 77 | private function getFileName(ClassMetadata $metadata) |
| 78 | 78 | { |
| 79 | - return $this->dir . '/' . strtr($metadata->name, '\\', '-') . '.cache.php'; |
|
| 79 | + return $this->dir.'/'.strtr($metadata->name, '\\', '-').'.cache.php'; |
|
| 80 | 80 | } |
| 81 | 81 | } |