| @@ -33,7 +33,6 @@ discard block | ||
| 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 | ||
| 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 |      { | 
| @@ -132,6 +132,9 @@ | ||
| 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); | 
| @@ -206,7 +206,7 @@ | ||
| 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 |      { | 
| @@ -6,7 +6,7 @@ | ||
| 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 | */ | 
| @@ -47,7 +47,7 @@ discard block | ||
| 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 | ||
| 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 | */ | 
| @@ -124,7 +124,7 @@ | ||
| 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 | */ | 
| @@ -353,7 +353,7 @@ | ||
| 353 | 353 | } | 
| 354 | 354 | |
| 355 | 355 | /** | 
| 356 | - * @param array|string $pattern | |
| 356 | + * @param string[] $pattern | |
| 357 | 357 | * | 
| 358 | 358 | * @return $this | 
| 359 | 359 | */ | 
| @@ -1,7 +1,5 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -use AspectMock\Test as test; | |
| 4 | - | |
| 5 | 3 | class HgTest extends \Codeception\TestCase\Test | 
| 6 | 4 |  { | 
| 7 | 5 | /** | 
| @@ -151,7 +151,7 @@ discard block | ||
| 151 | 151 | * | 
| 152 | 152 | * @param string $cmd | 
| 153 | 153 | * | 
| 154 | - * @return bool|string | |
| 154 | + * @return string|false | |
| 155 | 155 | */ | 
| 156 | 156 | protected function findExecutable($cmd) | 
| 157 | 157 |      { | 
| @@ -180,7 +180,7 @@ discard block | ||
| 180 | 180 | } | 
| 181 | 181 | |
| 182 | 182 | /** | 
| 183 | - * @return bool|string | |
| 183 | + * @return string|false | |
| 184 | 184 | */ | 
| 185 | 185 | protected function findProjectBin() | 
| 186 | 186 |      { |