Skip to content

Commit ae606ae

Browse files
[10.x] update doc block in PendingProcess.php (#50198)
* refactor(PendingProcess): update doc block for start method * refactor(PendingProcess): update doc block for resolveAsynchronousFake method
1 parent e550f2b commit ae606ae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Illuminate/Process/PendingProcess.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,10 @@ public function run(array|string $command = null, callable $output = null)
266266
* Start the process in the background.
267267
*
268268
* @param array<array-key, string>|string|null $command
269-
* @param callable $output
269+
* @param callable|null $output
270270
* @return \Illuminate\Process\InvokedProcess
271+
*
272+
* @throws \RuntimeException
271273
*/
272274
public function start(array|string $command = null, callable $output = null)
273275
{
@@ -382,6 +384,8 @@ protected function resolveSynchronousFake(string $command, Closure $fake)
382384
* @param callable|null $output
383385
* @param \Closure $fake
384386
* @return \Illuminate\Process\FakeInvokedProcess
387+
*
388+
* @throw \LogicException
385389
*/
386390
protected function resolveAsynchronousFake(string $command, ?callable $output, Closure $fake)
387391
{

0 commit comments

Comments
 (0)