Skip to content

Commit d822cb6

Browse files
[Process] fix return type declarations
1 parent 10f4eff commit d822cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ public function getStatus()
864864
* @param int|float $timeout The timeout in seconds
865865
* @param int $signal A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9)
866866
*
867-
* @return int The exit-code of the process
867+
* @return int|null The exit-code of the process or null if it's not running
868868
*/
869869
public function stop($timeout = 10, $signal = null)
870870
{

0 commit comments

Comments
 (0)