@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | self::$values = []; |
| 39 | 39 | self::$sha = sha1_file($filename); |
| 40 | 40 | |
| 41 | - $mapFile = self::getCacheDir(). DIRECTORY_SEPARATOR .self::$sha.'.php'; |
|
| 41 | + $mapFile = self::getCacheDir() . DIRECTORY_SEPARATOR . self::$sha . '.php'; |
|
| 42 | 42 | |
| 43 | 43 | if (false === file_exists($mapFile)) { |
| 44 | 44 | if (false === is_dir(self::getCacheDir())) { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | */ |
| 73 | 73 | private static function getCacheDir() |
| 74 | 74 | { |
| 75 | - return (!empty(self::$cacheDir)) ? self::$cacheDir : __DIR__.'/../_cache'; |
|
| 75 | + return (!empty(self::$cacheDir)) ? self::$cacheDir : __DIR__ . '/../_cache'; |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | |
| 89 | 89 | private static function checkForCache() |
| 90 | 90 | { |
| 91 | - if(empty(self::$cache)){ |
|
| 91 | + if (empty(self::$cache)) { |
|
| 92 | 92 | throw new ConfigException('No config file was provided. You MUST use before initFromFile() method.'); |
| 93 | 93 | } |
| 94 | 94 | } |