[Process] fix return type declarations

This commit is contained in:
Nicolas Grekas 2019-08-24 17:07:50 +02:00
parent 28646c7f9b
commit 6af0c80342
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ class Process implements \IteratorAggregate
* @param int|float $timeout The timeout in seconds
* @param int $signal A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9)
*
* @return int The exit-code of the process
* @return int|null The exit-code of the process or null if it's not running
*/
public function stop($timeout = 10, $signal = null)
{