Completed
Push — master ( 5fe53c...8917ce )
by Paweł
05:13
created
src/CommandReflection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public $commandClass;
11 11
 
12 12
     /**
13
-     * @param $commandName
13
+     * @param string $commandName
14 14
      * @param $commandClass
15 15
      */
16 16
     public function __construct($commandName, $commandClass)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
         $commandReflection = new \ReflectionClass($this->commandClass);
40 40
 
41 41
         return $commandParameters = $commandReflection->getConstructor() ?
42
-            $commandReflection->getConstructor()->getParameters() :
43
-            [];
42
+            $commandReflection->getConstructor()->getParameters() : [];
44 43
     }
45 44
 
46 45
     /**
Please login to merge, or discard this patch.