Passed
Branch master (f1c183)
by De Cramer
08:04
created
Command/GetScopesCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@
 block discarded – undo
47 47
 
48 48
     private function getLinesRecursively(&$lines, $scopes, $depth = -1, $previousScopeCode = "")
49 49
     {
50
-         foreach ($scopes as $scopeCode => $scopeName) {
51
-             if ($scopeCode == "~name") {
52
-                 $lines[] = [str_repeat("    ", $depth) . "- " . $previousScopeCode, $scopes["~name"]];
53
-             } else {
54
-                 $this->getLinesRecursively($lines, $scopeName, $depth + 1, $scopeCode);
55
-             }
56
-         }
50
+            foreach ($scopes as $scopeCode => $scopeName) {
51
+                if ($scopeCode == "~name") {
52
+                    $lines[] = [str_repeat("    ", $depth) . "- " . $previousScopeCode, $scopes["~name"]];
53
+                } else {
54
+                    $this->getLinesRecursively($lines, $scopeName, $depth + 1, $scopeCode);
55
+                }
56
+            }
57 57
     }
58 58
 }
59 59
\ No newline at end of file
Please login to merge, or discard this patch.