Skip to content

Commit 81b78b5

Browse files
Clarify parameter types in assertRanTimes method docs (#10676)
1 parent 2a0504f commit 81b78b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ use Illuminate\Support\Facades\Process;
623623
Process::assertRanTimes('ls -la', times: 3);
624624
```
625625

626-
The `assertRanTimes` method also accepts a closure, which will receive an instance of a process and a process result, allowing you to inspect the process' configured options. If this closure returns `true` and the process was invoked the specified number of times, the assertion will "pass":
626+
The `assertRanTimes` method also accepts a closure, which will receive an instance of `PendingProcess` and `ProcessResult`, allowing you to inspect the process' configured options. If this closure returns `true` and the process was invoked the specified number of times, the assertion will "pass":
627627

628628
```php
629629
Process::assertRanTimes(function (PendingProcess $process, ProcessResult $result) {

0 commit comments

Comments
 (0)