@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | mkdir(self::getCacheDir(), 0755, true); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - file_put_contents($sha1file, '<?php return unserialize(\''. serialize($cachedMap) .'\');' . PHP_EOL); |
|
| 50 | + file_put_contents($sha1file, '<?php return unserialize(\'' . serialize($cachedMap) . '\');' . PHP_EOL); |
|
| 51 | 51 | } |
| 52 | 52 | } |
| 53 | 53 | |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | private static function getCacheDir() |
| 80 | 80 | { |
| 81 | - return (self::$cacheDir) ? self::$cacheDir : __DIR__.'/../_cache/'; |
|
| 81 | + return (self::$cacheDir) ? self::$cacheDir : __DIR__ . '/../_cache/'; |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | */ |
| 87 | 87 | private static function getCacheFilePath() |
| 88 | 88 | { |
| 89 | - return self::getCacheDir() . DIRECTORY_SEPARATOR . sha1_file(self::$filename) .'.php'; |
|
| 89 | + return self::getCacheDir() . DIRECTORY_SEPARATOR . sha1_file(self::$filename) . '.php'; |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |