Completed
Pull Request — master (#85)
by Greg
02:10
created
src/Parser/CommandInfo.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,6 +137,9 @@  discard block
 block discarded – undo
137 137
         return filemtime($path) != $cache['mtime'];
138 138
     }
139 139
 
140
+    /**
141
+     * @param string $methodName
142
+     */
140 143
     protected function constructFromClassAndMethod($classNameOrInstance, $methodName)
141 144
     {
142 145
         $this->otherAnnotations = new AnnotationData();
@@ -400,7 +403,7 @@  discard block
 block discarded – undo
400 403
     /**
401 404
      * Return the list of refleaction parameters.
402 405
      *
403
-     * @return ReflectionParameter[]
406
+     * @return \ReflectionParameter[]
404 407
      */
405 408
     public function getParameters()
406 409
     {
@@ -540,7 +543,7 @@  discard block
 block discarded – undo
540 543
      * Examine the parameters of the method for this command, and
541 544
      * build a list of commandline arguements for them.
542 545
      *
543
-     * @return array
546
+     * @return DefaultsWithDescriptions
544 547
      */
545 548
     protected function determineAgumentClassifications()
546 549
     {
@@ -560,6 +563,7 @@  discard block
 block discarded – undo
560 563
      * Examine the provided parameter, and determine whether it
561 564
      * is a parameter that will be filled in with a positional
562 565
      * commandline argument.
566
+     * @param DefaultsWithDescriptions $result
563 567
      */
564 568
     protected function addParameterToResult($result, $param)
565 569
     {
@@ -650,6 +654,8 @@  discard block
 block discarded – undo
650 654
     /**
651 655
      * Given a list that might be 'a b c' or 'a, b, c' or 'a,b,c',
652 656
      * convert the data into the last of these forms.
657
+     * @param string $text
658
+     * @return string
653 659
      */
654 660
     protected static function convertListToCommaSeparated($text)
655 661
     {
Please login to merge, or discard this patch.