Completed
Push — master ( e9cd24...c15f94 )
by Joao
01:29
created
src/Definition.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.