@@ -148,7 +148,7 @@ |
||
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | - * @param $callable |
|
| 151 | + * @param \Closure $callable |
|
| 152 | 152 | */ |
| 153 | 153 | public function catchIO($callable) |
| 154 | 154 | { |
@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | * Iterate other hosts, allowing to call run func in callback. |
| 356 | 356 | * |
| 357 | 357 | * @experimental |
| 358 | - * @param Host|Host[] $hosts |
|
| 358 | + * @param Host[] $hosts |
|
| 359 | 359 | * @param callable $callback |
| 360 | 360 | */ |
| 361 | 361 | function on($hosts, callable $callback) |
@@ -719,7 +719,7 @@ discard block |
||
| 719 | 719 | * Check if command exists |
| 720 | 720 | * |
| 721 | 721 | * @param string $command |
| 722 | - * @return bool |
|
| 722 | + * @return boolean|null |
|
| 723 | 723 | */ |
| 724 | 724 | function commandExist($command) |
| 725 | 725 | { |