From 1be80c64d256f058d8cc60bf195a7160af597b47 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 3 Sep 2014 19:33:24 +0200 Subject: [PATCH] add missing exceptions to docblock --- src/Symfony/Component/Process/Process.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/Process/Process.php b/src/Symfony/Component/Process/Process.php index 44523b7ac2..fa6f56086e 100644 --- a/src/Symfony/Component/Process/Process.php +++ b/src/Symfony/Component/Process/Process.php @@ -413,6 +413,7 @@ class Process * @return Process * * @throws RuntimeException In case the process is already running + * @throws LogicException if an idle timeout is set */ public function disableOutput() { @@ -909,6 +910,7 @@ class Process * * @return self The current Process instance. * + * @throws LogicException if the output is disabled * @throws InvalidArgumentException if the timeout is negative */ public function setIdleTimeout($timeout) @@ -1339,6 +1341,8 @@ class Process * @param int|float|null $timeout * * @return float|null + * + * @throws InvalidArgumentException if the given timeout is a negative number */ private function validateTimeout($timeout) {