@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * @param array $args Optional. Arguments |
| 144 | 144 | * @param array $env Optional. Hash of environment's variables |
| 145 | 145 | * |
| 146 | - * @return this |
|
| 146 | + * @return ShellCommand |
|
| 147 | 147 | */ |
| 148 | 148 | public function execute ($binPath = null, $args = null, $env = null) |
| 149 | 149 | { |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | /** |
| 311 | 311 | * Set group |
| 312 | 312 | * |
| 313 | - * @return this |
|
| 313 | + * @return ShellCommand |
|
| 314 | 314 | */ |
| 315 | 315 | public function setGroup ($val) |
| 316 | 316 | { |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | * |
| 325 | 325 | * @param string $dir |
| 326 | 326 | * |
| 327 | - * @return this |
|
| 327 | + * @return ShellCommand |
|
| 328 | 328 | */ |
| 329 | 329 | public function setCwd ($dir) |
| 330 | 330 | { |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | * |
| 339 | 339 | * @param string $val |
| 340 | 340 | * |
| 341 | - * @return this |
|
| 341 | + * @return ShellCommand |
|
| 342 | 342 | */ |
| 343 | 343 | public function setUser ($val) |
| 344 | 344 | { |
@@ -352,7 +352,7 @@ discard block |
||
| 352 | 352 | * |
| 353 | 353 | * @param string $dir |
| 354 | 354 | * |
| 355 | - * @return this |
|
| 355 | + * @return ShellCommand |
|
| 356 | 356 | */ |
| 357 | 357 | public function setChroot ($dir) |
| 358 | 358 | { |
@@ -366,7 +366,7 @@ discard block |
||
| 366 | 366 | * |
| 367 | 367 | * @param array Arguments |
| 368 | 368 | * |
| 369 | - * @return this |
|
| 369 | + * @return ShellCommand |
|
| 370 | 370 | */ |
| 371 | 371 | public function setArgs ($args = null) |
| 372 | 372 | { |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | * |
| 381 | 381 | * @param array Hash of environment's variables |
| 382 | 382 | * |
| 383 | - * @return this |
|
| 383 | + * @return ShellCommand |
|
| 384 | 384 | */ |
| 385 | 385 | public function setEnv ($env = null) |
| 386 | 386 | { |
@@ -394,7 +394,7 @@ discard block |
||
| 394 | 394 | * |
| 395 | 395 | * @param integer $nice Priority |
| 396 | 396 | * |
| 397 | - * @return this |
|
| 397 | + * @return ShellCommand |
|
| 398 | 398 | */ |
| 399 | 399 | public function nice ($nice = null) |
| 400 | 400 | { |
@@ -422,7 +422,7 @@ discard block |
||
| 422 | 422 | /** |
| 423 | 423 | * Close write stream |
| 424 | 424 | * |
| 425 | - * @return this |
|
| 425 | + * @return ShellCommand |
|
| 426 | 426 | */ |
| 427 | 427 | public function closeWrite () |
| 428 | 428 | { |
@@ -551,7 +551,7 @@ discard block |
||
| 551 | 551 | * |
| 552 | 552 | * @param callable $cb |
| 553 | 553 | * |
| 554 | - * @return this |
|
| 554 | + * @return ShellCommand |
|
| 555 | 555 | */ |
| 556 | 556 | public function onEOF ($cb = null) |
| 557 | 557 | { |
@@ -566,7 +566,7 @@ discard block |
||
| 566 | 566 | /** |
| 567 | 567 | * Called when new data received |
| 568 | 568 | * |
| 569 | - * @return this|null |
|
| 569 | + * @return ShellCommand|null |
|
| 570 | 570 | */ |
| 571 | 571 | protected function onRead () |
| 572 | 572 | { |