minor #11842 [Process] add missing exceptions to docblock (xabbuh)

This PR was merged into the 2.5 branch.

Discussion
----------

[Process] add missing exceptions to docblock

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

Commits
-------

1be80c6 add missing exceptions to docblock
This commit is contained in:
Romain Neutron 2014-09-05 09:43:27 +02:00
commit 888f0eb3f5

View File

@ -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)
{