Completed
Push — master ( e4b7e2...bee8d1 )
by Greg
02:40
created
tests/unit/Common/CommandArgumentsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      *
80 80
      * @covers ::args
81 81
      *
82
-     * @param string $expected
82
+     * @param string $expectedLinux
83 83
      * @param array $args
84 84
      */
85 85
     public function testArgs($expectedLinux, $expectedWindows, $args)
Please login to merge, or discard this patch.
src/Task/Base/Exec.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     protected $command;
44 44
 
45 45
     /**
46
-     * @param string|\Robo\Contract\CommandInterface $command
46
+     * @param string $command
47 47
      */
48 48
     public function __construct($command)
49 49
     {
Please login to merge, or discard this patch.
tests/_helpers/SeeInOutputTrait.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@  discard block
 block discarded – undo
11 11
     protected $capturedOutput;
12 12
     protected $logger;
13 13
 
14
+    /**
15
+     * @param \League\Container\Container $container
16
+     */
14 17
     public function initSeeInOutputTrait($container, $input = null)
15 18
     {
16 19
         $this->capturedOutput = '';
@@ -65,6 +68,7 @@  discard block
 block discarded – undo
65 68
     /**
66 69
      * Make our output comparisons more platform-agnostic by converting
67 70
      * CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac).
71
+     * @param string $output
68 72
      */
69 73
     protected function simplify($output)
70 74
     {
Please login to merge, or discard this patch.
src/Common/ProcessUtils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
         return "'".str_replace("'", "'\\''", $argument)."'";
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $char
77
+     */
75 78
     private static function isSurroundedBy($arg, $char)
76 79
     {
77 80
         return 2 < strlen($arg) && $char === $arg[0] && $char === $arg[strlen($arg) - 1];
Please login to merge, or discard this patch.
examples/src/Robo/Plugin/Commands/ExampleCommands.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -348,6 +348,9 @@
 block discarded – undo
348 348
 {
349 349
     protected $message;
350 350
 
351
+    /**
352
+     * @param string $message
353
+     */
351 354
     public function __construct($message)
352 355
     {
353 356
         $this->message = $message;
Please login to merge, or discard this patch.
examples/src/Robo/Plugin/Commands/StdinCommands.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
     /**
13 13
      * @command cat
14
-     * @param string $file
15 14
      * @default $file -
16 15
      */
17 16
     public function cat(InputInterface $input)
Please login to merge, or discard this patch.
src/Collection/Collection.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param string $method
214 214
      * @param string $name
215
-     * @param callable|\Robo\Contract\TaskInterface $task
215
+     * @param callable $task
216 216
      * @param string $nameOfTaskToAdd
217 217
      *
218 218
      * @return $this
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     /**
284 284
      * Return the list of task names added to this collection.
285 285
      *
286
-     * @return string[]
286
+     * @return integer[]
287 287
      */
288 288
     public function taskNames()
289 289
     {
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     }
357 357
 
358 358
     /**
359
-     * @param int|string $name
359
+     * @param string $name
360 360
      * @param \Robo\Collection\Element $taskGroup
361 361
      *
362 362
      * @return $this
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
     }
649 649
 
650 650
     /**
651
-     * @param \Robo\Contract\TaskInterface|\Robo\Collection\NestedCollectionInterface|\Robo\Contract\WrappedTaskInterface $task
651
+     * @param TaskInterface $task
652 652
      *
653 653
      * @return \Robo\Result
654 654
      */
Please login to merge, or discard this patch.
src/Common/ResourceExistenceChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      * @param string $type
49 49
      *   Allowed values: "file", "dir", "fileAndDir".
50 50
      *
51
-     * @return bool
51
+     * @return boolean|null
52 52
      */
53 53
     protected function checkResource($resource, $type)
54 54
     {
Please login to merge, or discard this patch.
src/GlobalOptionsEventListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      *
131 131
      * @param string $value
132 132
      *
133
-     * @return array
133
+     * @return boolean[]
134 134
      */
135 135
     protected function splitConfigKeyValue($value)
136 136
     {
Please login to merge, or discard this patch.