@@ -33,10 +33,10 @@ discard block  | 
                                                    ||
| 33 | 33 | */  | 
                                                        
| 34 | 34 | private function loadConfig($currentConfig, $env)  | 
                                                        
| 35 | 35 |      { | 
                                                        
| 36 | - $file = __DIR__ . '/../../../../config/config-' . $env . '.php';  | 
                                                        |
| 36 | + $file = __DIR__ . '/../../../../config/config-' . $env . '.php';  | 
                                                        |
| 37 | 37 | |
| 38 | 38 |          if (!file_exists($file)) { | 
                                                        
| 39 | - $file = __DIR__ . '/../config/config-' . $env . '.php';  | 
                                                        |
| 39 | + $file = __DIR__ . '/../config/config-' . $env . '.php';  | 
                                                        |
| 40 | 40 | }  | 
                                                        
| 41 | 41 | |
| 42 | 42 |          if (!file_exists($file)) { | 
                                                        
@@ -60,7 +60,7 @@ discard block  | 
                                                    ||
| 60 | 60 | */  | 
                                                        
| 61 | 61 | public function setCache(CacheInterface $cache, $env = "live")  | 
                                                        
| 62 | 62 |      { | 
                                                        
| 63 | -        foreach ((array)$env as $item) { | 
                                                        |
| 63 | +        foreach ((array) $env as $item) { | 
                                                        |
| 64 | 64 |              try { | 
                                                        
| 65 | 65 |                  $date = new \DateInterval('P7D'); | 
                                                        
| 66 | 66 |              } catch (\Exception $ex) { | 
                                                        
@@ -80,7 +80,7 @@ discard block  | 
                                                    ||
| 80 | 80 | */  | 
                                                        
| 81 | 81 | public function setCacheTTL(\DateInterval $ttl, $env = "live")  | 
                                                        
| 82 | 82 |      { | 
                                                        
| 83 | -        foreach ((array)$env as $item) { | 
                                                        |
| 83 | +        foreach ((array) $env as $item) { | 
                                                        |
| 84 | 84 |              if (!isset($this->cache[$item])) { | 
                                                        
| 85 | 85 |                  throw new EnvironmentException('Environment does not exists. Could not set Cache TTL.'); | 
                                                        
| 86 | 86 | }  |