Completed
Pull Request — master (#499)
by .
03:14
created
src/Task/Development/loadTasks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param string|array $url
70
+     * @param string[] $url
71 71
      * @return OpenBrowser
72 72
      */
73 73
     protected function taskOpenBrowser($url)
Please login to merge, or discard this patch.
examples/RoboFile.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         return false;
82 82
     }
83 83
 
84
+    /**
85
+     * @param string $message
86
+     */
84 87
     protected function printMessage($level, $message, $context = [])
85 88
     {
86 89
         $inProgress = $this->hideProgressIndicator();
Please login to merge, or discard this patch.
tests/_data/TestedRoboTask.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Constructor. This should not be documented
35 35
      *
36
-     * @param array|Iterator $files
37 36
      */
38 37
     public function __construct()
39 38
     {
@@ -44,7 +43,7 @@  discard block
 block discarded – undo
44 43
      *
45 44
      * @param string $dst
46 45
      *
47
-     * @return Concat The current instance
46
+     * @return TestedRoboTask The current instance
48 47
      */
49 48
     public function to($dst)
50 49
     {
Please login to merge, or discard this patch.
tests/_helpers/SeeInOutputTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
     protected $capturedOutput;
13 13
     protected $logger;
14 14
 
15
+    /**
16
+     * @param \League\Container\Container $container
17
+     */
15 18
     public function initSeeInOutputTrait($container, $input = null)
16 19
     {
17 20
         $this->capturedOutput = '';
Please login to merge, or discard this patch.
tests/unit/ApplicationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@
 block discarded – undo
132 132
         $this->assertNotNull($this->app->find('generate:user-avatar'));
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $name
137
+     */
135 138
     protected function createCommand($name)
136 139
     {
137 140
         $commandInfo = new CommandInfo($this->roboCommandFileInstance, $name);
Please login to merge, or discard this patch.
tests/unit/Task/CollectionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -145,6 +145,10 @@
 block discarded – undo
145 145
     protected $key;
146 146
     protected $value;
147 147
 
148
+    /**
149
+     * @param string $key
150
+     * @param string $value
151
+     */
148 152
     public function __construct($key, $value)
149 153
     {
150 154
         $this->key = $key;
Please login to merge, or discard this patch.
tests/unit/Task/GulpTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
         ]);
17 17
     }
18 18
 
19
+    /**
20
+     * @param string $expected
21
+     */
19 22
     protected function adjustQuotes($expected)
20 23
     {
21 24
         $isWindows = defined('PHP_WINDOWS_VERSION_MAJOR');
Please login to merge, or discard this patch.
src/Collection/Collection.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      *
194 194
      * @param string $method
195 195
      * @param string $name
196
-     * @param callable|TaskInterface $task
196
+     * @param callable $task
197 197
      * @param string $nameOfTaskToAdd
198 198
      *
199 199
      * @return $this
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     /**
263 263
      * Return the list of task names added to this collection.
264 264
      *
265
-     * @return array
265
+     * @return integer[]
266 266
      */
267 267
     public function taskNames()
268 268
     {
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
     }
336 336
 
337 337
     /**
338
-     * @param int|string $name
338
+     * @param string $name
339 339
      * @param \Robo\Collection\Element $taskGroup
340 340
      *
341 341
      * @return $this
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
     }
622 622
 
623 623
     /**
624
-     * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task
624
+     * @param TaskInterface $task
625 625
      *
626 626
      * @return \Robo\Result
627 627
      */
@@ -638,7 +638,7 @@  discard block
 block discarded – undo
638 638
 
639 639
     /**
640 640
      * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task
641
-     * @param $parentCollection
641
+     * @param CollectionInterface $parentCollection
642 642
      */
643 643
     protected function setParentCollectionForTask($task, $parentCollection)
644 644
     {
Please login to merge, or discard this patch.
src/Collection/CollectionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@
 block discarded – undo
362 362
      * @param InflectionInterface $task
363 363
      * @param array $args
364 364
      *
365
-     * @return \Robo\Collection\CompletionWrapper|\Robo\Task\Simulator
365
+     * @return TaskInterface
366 366
      */
367 367
     protected function fixTask($task, $args)
368 368
     {
Please login to merge, or discard this patch.