@@ -118,6 +118,10 @@ |
||
| 118 | 118 | return $result; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @param string $mimetype |
|
| 123 | + * @param string $extractLocation |
|
| 124 | + */ |
|
| 121 | 125 | protected function extractAppropriateType($mimetype, $extractLocation) |
| 122 | 126 | { |
| 123 | 127 | // Perform the extraction of a zip file. |
@@ -447,6 +447,9 @@ |
||
| 447 | 447 | return $exec->inflect($this)->printed(false)->run(); |
| 448 | 448 | } |
| 449 | 449 | |
| 450 | + /** |
|
| 451 | + * @param string $executable |
|
| 452 | + */ |
|
| 450 | 453 | protected function installFromImagemin($executable) |
| 451 | 454 | { |
| 452 | 455 | // check if there is an url defined for the executable |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | /** |
| 7 | 7 | * Executes shell command |
| 8 | 8 | * |
| 9 | - * @param $command |
|
| 9 | + * @param string $command |
|
| 10 | 10 | * @return \Robo\Result |
| 11 | 11 | */ |
| 12 | 12 | protected function _exec($command) |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | trait loadTasks |
| 5 | 5 | { |
| 6 | 6 | /** |
| 7 | - * @param $command |
|
| 7 | + * @param string $command |
|
| 8 | 8 | * @return Exec |
| 9 | 9 | */ |
| 10 | 10 | protected function taskExec($command) |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @param string|array $url |
|
| 70 | + * @param string[] $url |
|
| 71 | 71 | * @return OpenBrowser |
| 72 | 72 | */ |
| 73 | 73 | protected function taskOpenBrowser($url) |
@@ -164,7 +164,7 @@ |
||
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | 166 | * Strips whitespace from source. Taken from composer |
| 167 | - * @param $source |
|
| 167 | + * @param string $source |
|
| 168 | 168 | * @return string |
| 169 | 169 | */ |
| 170 | 170 | private function stripWhitespace($source) |
@@ -46,6 +46,9 @@ |
||
| 46 | 46 | return $this; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | + /** |
|
| 50 | + * @param string $path |
|
| 51 | + */ |
|
| 49 | 52 | public function dir($path) |
| 50 | 53 | { |
| 51 | 54 | $this->command .= "-t $path"; |
@@ -249,6 +249,9 @@ |
||
| 249 | 249 | return Result::success($this); |
| 250 | 250 | } |
| 251 | 251 | |
| 252 | + /** |
|
| 253 | + * @return string |
|
| 254 | + */ |
|
| 252 | 255 | public function getPath() |
| 253 | 256 | { |
| 254 | 257 | return $this->filename; |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * @param $dirs |
|
| 18 | + * @param string $dirs |
|
| 19 | 19 | * @return DeleteDir |
| 20 | 20 | */ |
| 21 | 21 | protected function taskDeleteDir($dirs) |