Passed
Push — master ( 3c1e69...f9ea00 )
by Mauro
02:26
created
src/DIC.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.