Skip to content

Commit 96676e9

Browse files
Fix incorrect usage of Process::pipe() (#10672)
1 parent d640df5 commit 96676e9

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
@@ -219,7 +219,7 @@ Laravel also allows you to assign string keys to each process within a pipeline
219219
$result = Process::pipe(function (Pipe $pipe) {
220220
$pipe->as('first')->command('cat example.txt');
221221
$pipe->as('second')->command('grep -i "laravel"');
222-
})->start(function (string $type, string $output, string $key) {
222+
}, function (string $type, string $output, string $key) {
223223
// ...
224224
});
225225
```

0 commit comments

Comments
 (0)