Completed
Push — master ( f5e1e2...0ee44e )
by Pavel
02:53
created
src/FileHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,12 +86,12 @@
 block discarded – undo
86 86
         $env = $this->getArgumentValue('env');
87 87
         if ($env !== false && strpos($env, DIRECTORY_SEPARATOR) > 0) {
88 88
             $envParts = explode(DIRECTORY_SEPARATOR, $env);
89
-            while(count($envParts)>0) {
90
-                $fileName = $this->preparePath($path,join(DIRECTORY_SEPARATOR, $envParts));
89
+            while (count($envParts) > 0) {
90
+                $fileName = $this->preparePath($path, join(DIRECTORY_SEPARATOR, $envParts));
91 91
                 if ($this->fs->exists($fileName)) {
92 92
                     return $fileName;
93 93
                 }
94
-                unset($envParts[count($envParts)-1]);
94
+                unset($envParts[count($envParts) - 1]);
95 95
             }
96 96
         } else {
97 97
             $fileName = $this->preparePath($path);
Please login to merge, or discard this patch.