Completed
Push — master ( 9b8f3d...1967a6 )
by Joao
12s
created
src/Definition.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@  discard block
 block discarded – undo
36 36
      */
37 37
     private function loadConfig($currentConfig, $env)
38 38
     {
39
-        $file = __DIR__ . '/../../../../config/config-' . $env .  '.php';
39
+        $file = __DIR__ . '/../../../../config/config-' . $env . '.php';
40 40
 
41 41
         if (!file_exists($file)) {
42
-            $file = __DIR__ . '/../config/config-' . $env .  '.php';
42
+            $file = __DIR__ . '/../config/config-' . $env . '.php';
43 43
         }
44 44
 
45 45
         if (!file_exists($file)) {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function setCache(CacheInterface $cache, $env = "live")
63 63
     {
64
-        foreach ((array)$env as $item) {
64
+        foreach ((array) $env as $item) {
65 65
             $this->cache[$item] = $cache;
66 66
             $this->cacheTTL[$item] = new \DateInterval('P7D');
67 67
         }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function setCacheTTL(\DateInterval $ttl, $env = "live")
78 78
     {
79
-        foreach ((array)$env as $item) {
79
+        foreach ((array) $env as $item) {
80 80
             if (!isset($this->cache[$item])) {
81 81
                 throw new \Exception('Environment does not exists. Could not set Cache TTL.');
82 82
             }
Please login to merge, or discard this patch.