Completed
Pull Request — master (#924)
by Greg
02:38
created
src/Task/Base/loadTasks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 trait loadTasks
5 5
 {
6 6
     /**
7
-     * @param string|\Robo\Contract\CommandInterface $command
7
+     * @param string $command
8 8
      *
9 9
      * @return \Robo\Task\Base\Exec|\Robo\Collection\CollectionBuilder
10 10
      */
Please login to merge, or discard this patch.
src/Task/Base/ParallelExec.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param string|\Robo\Contract\CommandInterface $command
73
+     * @param string $command
74 74
      *
75 75
      * @return $this
76 76
      */
Please login to merge, or discard this patch.
src/Task/Development/loadTasks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param string|array $url
78
+     * @param string[] $url
79 79
      *
80 80
      * @return \Robo\Task\Development\OpenBrowser|\Robo\Collection\CollectionBuilder
81 81
      */
Please login to merge, or discard this patch.
src/Task/Filesystem/loadTasks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     }
15 15
 
16 16
     /**
17
-     * @param string|string[] $dirs
17
+     * @param string $dirs
18 18
      *
19 19
      * @return \Robo\Task\Filesystem\DeleteDir|\Robo\Collection\CollectionBuilder
20 20
      */
Please login to merge, or discard this patch.
src/Task/Remote/Ssh.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     }
187 187
 
188 188
     /**
189
-     * @param string|string[]|CommandInterface $command
189
+     * @param string $command
190 190
      *
191 191
      * @return $this
192 192
      */
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Returns an ssh command string running $command on the remote.
257 257
      *
258
-     * @param string|CommandInterface $command
258
+     * @param string $command
259 259
      *
260 260
      * @return string
261 261
      */
Please login to merge, or discard this patch.
src/Task/Testing/Atoum.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Tag or Tags to filter.
50 50
      *
51
-     * @param string|string[] $tags
51
+     * @param string $tags
52 52
      *
53 53
      * @return $this
54 54
      */
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
125 125
      * Test file or test files to run.
126 126
      *
127 127
      * @param string|string[]
128
+     * @param string[] $files
128 129
      *
129 130
      * @return $this
130 131
      */
@@ -138,6 +139,7 @@  discard block
 block discarded – undo
138 139
      *
139 140
      * @param string|string[]
140 141
      *   A single directory or a list of directories.
142
+     * @param string $directories
141 143
      *
142 144
      * @return $this
143 145
      */
Please login to merge, or discard this patch.
tests/src/Traits/TestTasksTrait.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
     protected $capturedOutput;
18 18
     protected $logger;
19 19
 
20
+    /**
21
+     * @return \League\Container\ContainerInterface
22
+     */
20 23
     public function initTestTasksTrait($commandClass = null, $container = null, $input = null)
21 24
     {
22 25
         if (!$container) {
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         return $container;
48 51
     }
49 52
 
53
+    /**
54
+     * @return null|OutputInterface
55
+     */
50 56
     public function capturedOutputStream()
51 57
     {
52 58
         if (!$this->testPrinter) {
@@ -66,6 +72,9 @@  discard block
 block discarded – undo
66 72
         return $this->capturedOutput;
67 73
     }
68 74
 
75
+    /**
76
+     * @param string $value
77
+     */
69 78
     public function assertOutputContains($value)
70 79
     {
71 80
         $output = $this->accumulate();
@@ -73,6 +82,9 @@  discard block
 block discarded – undo
73 82
         $this->assertContains($value, $output);
74 83
     }
75 84
 
85
+    /**
86
+     * @param string $value
87
+     */
76 88
     public function assertOutputNotContains($value)
77 89
     {
78 90
         $output = $this->accumulate();
@@ -80,6 +92,9 @@  discard block
 block discarded – undo
80 92
         $this->assertNotContains($value, $output);
81 93
     }
82 94
 
95
+    /**
96
+     * @param string $value
97
+     */
83 98
     public function assertOutputEquals($value)
84 99
     {
85 100
         $output = $this->accumulate();
@@ -90,6 +105,7 @@  discard block
 block discarded – undo
90 105
     /**
91 106
      * Make our output comparisons more platform-agnostic by converting
92 107
      * CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac).
108
+     * @param string $output
93 109
      */
94 110
     protected function simplify($output)
95 111
     {
Please login to merge, or discard this patch.
tests/src/Fixtures.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * Create a new temporary directory.
43 43
      *
44 44
      * @param string|bool $basedir Where to store the temporary directory
45
-     * @return type
45
+     * @return string
46 46
      */
47 47
     public function mktmpdir($basedir = false)
48 48
     {
Please login to merge, or discard this patch.