Completed
Pull Request — master (#997)
by Andrzej
02:14
created
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/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/_helpers/CodeGuy.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\CodeGuyActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
src/Task/Archive/Extract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
     /**
207 207
      * @param string $filename
208 208
      *
209
-     * @return bool|string
209
+     * @return string|false
210 210
      */
211 211
     protected static function archiveType($filename)
212 212
     {
Please login to merge, or discard this patch.
src/Task/Base/loadShortcuts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     /**
7 7
      * Executes shell command
8 8
      *
9
-     * @param string|\Robo\Contract\CommandInterface $command
9
+     * @param string $command
10 10
      *
11 11
      * @return \Robo\Result
12 12
      */
Please login to merge, or discard this patch.
src/Task/Docker/Exec.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     protected $run = '';
48 48
 
49 49
     /**
50
-     * @param string|\Robo\Result $cidOrResult
50
+     * @param string $cidOrResult
51 51
      */
52 52
     public function __construct($cidOrResult)
53 53
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @param string|\Robo\Contract\CommandInterface $command
76
+     * @param string $command
77 77
      *
78 78
      * @return $this
79 79
      */
Please login to merge, or discard this patch.
src/Task/Docker/Run.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @param string|\Robo\Contract\CommandInterface $run
127
+     * @param string $run
128 128
      *
129 129
      * @return $this
130 130
      */
Please login to merge, or discard this patch.
src/Common/ResourceExistenceChecker.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -90,25 +90,25 @@
 block discarded – undo
90 90
         $this->checkResources($targets);
91 91
     }
92 92
 
93
-   /**
94
-    * Wrapper method around phps is_dir()
95
-    *
96
-    * @param string $directory
97
-    *
98
-    * @return bool
99
-    */
93
+    /**
94
+     * Wrapper method around phps is_dir()
95
+     *
96
+     * @param string $directory
97
+     *
98
+     * @return bool
99
+     */
100 100
     protected function isDir($directory)
101 101
     {
102 102
         return is_dir($directory);
103 103
     }
104 104
 
105
-   /**
106
-    * Wrapper method around phps file_exists()
107
-    *
108
-    * @param string $file
109
-    *
110
-    * @return bool
111
-    */
105
+    /**
106
+     * Wrapper method around phps file_exists()
107
+     *
108
+     * @param string $file
109
+     *
110
+     * @return bool
111
+     */
112 112
     protected function isFile($file)
113 113
     {
114 114
         return file_exists($file);
Please login to merge, or discard this 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/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.