@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | return; |
62 | 62 | } |
63 | 63 | |
64 | - $data = '<?php return unserialize(' . var_export(serialize($metadata), true) . ');'; |
|
64 | + $data = '<?php return unserialize('.var_export(serialize($metadata), true).');'; |
|
65 | 65 | $bytesWritten = file_put_contents($tmpFile, $data); |
66 | 66 | // use strlen and not mb_strlen. if there is utf8 in the code, it also writes more bytes. |
67 | 67 | if ($bytesWritten !== strlen($data)) { |
@@ -116,6 +116,6 @@ discard block |
||
116 | 116 | { |
117 | 117 | $fileName = str_replace(['\\', "\0", '@', '/', '$', '{', '}', ':'], '-', $key); |
118 | 118 | |
119 | - return $this->dir . '/' . $fileName . '.cache.php'; |
|
119 | + return $this->dir.'/'.$fileName.'.cache.php'; |
|
120 | 120 | } |
121 | 121 | } |