Completed
Push — master ( 2a3e96...8b8afe )
by Greg
03:03
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.
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 OpenBrowser
81 81
      */
Please login to merge, or discard this patch.
src/Log/ResultPrinter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @param \Robo\Result $result
29 29
      *
30
-     * @return bool
30
+     * @return null|boolean
31 31
      */
32 32
     public function printResult(Result $result)
33 33
     {
Please login to merge, or discard this patch.
src/Collection/CollectionBuilder.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -140,15 +140,15 @@
 block discarded – undo
140 140
         return $this;
141 141
     }
142 142
 
143
-  /**
144
-   * Add arbitrary code to execute as a task.
145
-   *
146
-   * @see \Robo\Collection\CollectionInterface::addCode
147
-   *
148
-   * @param callable $code
149
-   * @param int|string $name
150
-   * @return $this
151
-   */
143
+    /**
144
+     * Add arbitrary code to execute as a task.
145
+     *
146
+     * @see \Robo\Collection\CollectionInterface::addCode
147
+     *
148
+     * @param callable $code
149
+     * @param int|string $name
150
+     * @return $this
151
+     */
152 152
     public function addCode(callable $code, $name = \Robo\Collection\CollectionInterface::UNNAMEDTASK)
153 153
     {
154 154
         $this->getCollection()->addCode($code, $name);
Please login to merge, or discard this patch.
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -76,6 +76,10 @@  discard block
 block discarded – undo
76 76
         $this->resetState();
77 77
     }
78 78
 
79
+    /**
80
+     * @param \League\Container\ContainerInterface $container
81
+     * @param BuilderAwareInterface $commandFile
82
+     */
79 83
     public static function create($container, $commandFile)
80 84
     {
81 85
         $builder = new self($commandFile);
@@ -284,6 +288,9 @@  discard block
 block discarded – undo
284 288
         return $this->callCollectionStateFuntion(__FUNCTION__, func_get_args());
285 289
     }
286 290
 
291
+    /**
292
+     * @param string $functionName
293
+     */
287 294
     protected function callCollectionStateFuntion($functionName, $args)
288 295
     {
289 296
         $currentTask = ($this->currentTask instanceof WrappedTaskInterface) ? $this->currentTask->original() : $this->currentTask;
Please login to merge, or discard this patch.
src/Common/ProcessExecutor.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@
 block discarded – undo
24 24
         $this->process = $process;
25 25
     }
26 26
 
27
+    /**
28
+     * @param \League\Container\ContainerInterface $container
29
+     * @param Process $process
30
+     */
27 31
     public static function create($container, $process)
28 32
     {
29 33
         $processExecutor = new self($process);
Please login to merge, or discard this patch.
src/Robo.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * Create a config object and load it from the provided paths.
94
+     * @param string[] $paths
94 95
      */
95 96
     public static function createConfiguration($paths)
96 97
     {
@@ -101,6 +102,7 @@  discard block
 block discarded – undo
101 102
 
102 103
     /**
103 104
      * Use a simple config loader to load configuration values from specified paths
105
+     * @param Config\Config $config
104 106
      */
105 107
     public static function loadConfiguration($paths, $config = null)
106 108
     {
@@ -304,7 +306,7 @@  discard block
 block discarded – undo
304 306
      * @param string $id
305 307
      *   The ID of the service to retrieve.
306 308
      *
307
-     * @return mixed
309
+     * @return \Symfony\Component\Console\Output\OutputInterface
308 310
      *   The specified service.
309 311
      */
310 312
     public static function service($id)
Please login to merge, or discard this patch.
src/Task/Docker/Run.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     /**
129
-     * @param string|\Robo\Contract\CommandInterface $run
129
+     * @param string $run
130 130
      *
131 131
      * @return $this
132 132
      */
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * inherited from ExecTrait.
156 156
      *
157 157
      * @param array $env
158
-     * @return type
158
+     * @return Run
159 159
      */
160 160
     public function envVars(array $env)
161 161
     {
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.