Passed
Pull Request — develop (#19)
by Kevin
02:49
created
lib/Console/Command/ConfigurationBuild.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,9 +51,10 @@
 block discarded – undo
51 51
         $manager = $factory->getManager();
52 52
         $contexts = $factory->getContextFile()->getContexts();
53 53
         $context = $input->getArgument('context');
54
-        if ($context)
55
-            if (in_array($context, $contexts)) {
54
+        if ($context) {
55
+                    if (in_array($context, $contexts)) {
56 56
                 $contexts = [$context];
57
+        }
57 58
             } else {
58 59
             throw new InvalidContextException('Context does not exist: ' . $context);
59 60
         }
Please login to merge, or discard this patch.