Skip to content

Commit c593135

Browse files
committed
[Process] Adjust Process mustRun method phpdoc
1 parent e579464 commit c593135

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Process.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,12 @@ public function run(?callable $callback = null, array $env = []): int
256256
*
257257
* @return $this
258258
*
259-
* @throws ProcessFailedException if the process didn't terminate successfully
259+
* @throws ProcessFailedException When process didn't terminate successfully
260+
* @throws RuntimeException When process can't be launched
261+
* @throws RuntimeException When process is already running
262+
* @throws ProcessTimedOutException When process timed out
263+
* @throws ProcessSignaledException When process stopped after receiving signal
264+
* @throws LogicException In case a callback is provided and output has been disabled
260265
*
261266
* @final
262267
*/

0 commit comments

Comments
 (0)