Completed
Pull Request — master (#29)
by Greg
02:20
created
src/CommandProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      * should select the output format that is most appropriate
151 151
      * for use in scripts (e.g. to pipe to another command).
152 152
      *
153
-     * @return string
153
+     * @return boolean
154 154
      */
155 155
     protected function getFormat($options)
156 156
     {
Please login to merge, or discard this patch.
src/Parser/CommandInfo.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -391,8 +391,7 @@
 block discarded – undo
391 391
             if (!$this->isAssoc($defaultValue)) {
392 392
                 $result->setDefaultValue($param->name, $defaultValue);
393 393
             }
394
-        }
395
-        elseif ($param->isArray()) {
394
+        } elseif ($param->isArray()) {
396 395
             $result->setDefaultValue($param->name, []);
397 396
         }
398 397
     }
Please login to merge, or discard this patch.