Completed
Pull Request — master (#561)
by Ivan
03:17
created
src/Task/Testing/PHPUnit.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
      */
36 36
     protected $files = '';
37 37
 
38
+    /**
39
+     * @param string $pathToPhpUnit
40
+     */
38 41
     public function __construct($pathToPhpUnit = null)
39 42
     {
40 43
         $this->command = $pathToPhpUnit;
Please login to merge, or discard this patch.
src/Task/Remote/Rsync.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@
 block discarded – undo
353 353
     }
354 354
 
355 355
     /**
356
-     * @param array|string $pattern
356
+     * @param string[] $pattern
357 357
      *
358 358
      * @return $this
359 359
      */
Please login to merge, or discard this patch.
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/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/Collection/CollectionBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -72,6 +72,10 @@
 block discarded – undo
72 72
         $this->commandFile = $commandFile;
73 73
     }
74 74
 
75
+    /**
76
+     * @param \League\Container\ContainerInterface $container
77
+     * @param BuilderAwareInterface $commandFile
78
+     */
75 79
     public static function create($container, $commandFile)
76 80
     {
77 81
         $builder = new self($commandFile);
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.