@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | /** |
| 248 | 248 | * Stops the process. |
| 249 | 249 | * |
| 250 | - * @param int|float $timeout The timeout in seconds |
|
| 250 | + * @param integer $timeout The timeout in seconds |
|
| 251 | 251 | * @param int $signal A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9) |
| 252 | 252 | * |
| 253 | 253 | * @return int The exit-code of the process |
@@ -260,6 +260,7 @@ discard block |
||
| 260 | 260 | * @internal |
| 261 | 261 | * |
| 262 | 262 | * @param string $line The line to append |
| 263 | + * @return void |
|
| 263 | 264 | */ |
| 264 | 265 | public function addOutput($line); |
| 265 | 266 | |
@@ -269,6 +270,7 @@ discard block |
||
| 269 | 270 | * @internal |
| 270 | 271 | * |
| 271 | 272 | * @param string $line The line to append |
| 273 | + * @return void |
|
| 272 | 274 | */ |
| 273 | 275 | public function addErrorOutput($line); |
| 274 | 276 | |
@@ -444,6 +446,7 @@ discard block |
||
| 444 | 446 | * trigger this method regularly to ensure the process timeout |
| 445 | 447 | * |
| 446 | 448 | * @throws ProcessTimedOutException In case the timeout was reached |
| 449 | + * @return void |
|
| 447 | 450 | */ |
| 448 | 451 | public function checkTimeout(); |
| 449 | 452 | } |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Process\Exception\InvalidArgumentException; |
| 6 | 6 | use Symfony\Component\Process\Exception\LogicException; |
| 7 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
| 8 | 7 | use Symfony\Component\Process\Exception\ProcessTimedOutException; |
| 9 | 8 | use Symfony\Component\Process\Exception\RuntimeException; |
| 10 | 9 | use Symfony\Component\Process\Process; |