@@ -41,13 +41,13 @@ discard block |
||
41 | 41 | $this->serializer = new SerializerIgbinary(); |
42 | 42 | |
43 | 43 | if (!$cacheDir) { |
44 | - $cacheDir = \realpath(\sys_get_temp_dir()) . '/simple_php_cache'; |
|
44 | + $cacheDir = \realpath(\sys_get_temp_dir()).'/simple_php_cache'; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | if (\is_callable($cacheDir)) { |
48 | - $this->cacheDir = (string) call_user_func($cacheDir); |
|
48 | + $this->cacheDir = (string)call_user_func($cacheDir); |
|
49 | 49 | } else { |
50 | - $this->cacheDir = (string) $cacheDir; |
|
50 | + $this->cacheDir = (string)$cacheDir; |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | if ($this->createCacheDirectory($this->cacheDir) === true) { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | */ |
196 | 196 | protected function getFileName(string $key): string |
197 | 197 | { |
198 | - return $this->cacheDir . \DIRECTORY_SEPARATOR . self::CACHE_FILE_PREFIX . $key . self::CACHE_FILE_SUBFIX; |
|
198 | + return $this->cacheDir.\DIRECTORY_SEPARATOR.self::CACHE_FILE_PREFIX.$key.self::CACHE_FILE_SUBFIX; |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | /** |