From c41b358ae134027878834041c35b01fa5fe1b329 Mon Sep 17 00:00:00 2001 From: Ahmed Alaa <92916738+AhmedAlaa4611@users.noreply.github.com> Date: Mon, 4 Aug 2025 23:51:46 +0300 Subject: [PATCH] Fix incorrect usage of Process::pipe() --- processes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processes.md b/processes.md index 8e0374750f4..84ccb5bf008 100644 --- a/processes.md +++ b/processes.md @@ -219,7 +219,7 @@ Laravel also allows you to assign string keys to each process within a pipeline $result = Process::pipe(function (Pipe $pipe) { $pipe->as('first')->command('cat example.txt'); $pipe->as('second')->command('grep -i "laravel"'); -})->start(function (string $type, string $output, string $key) { +}, function (string $type, string $output, string $key) { // ... }); ```