diff --git a/src/Illuminate/Process/Factory.php b/src/Illuminate/Process/Factory.php index 6ec62db777b0..51ed037ec9a9 100644 --- a/src/Illuminate/Process/Factory.php +++ b/src/Illuminate/Process/Factory.php @@ -275,7 +275,7 @@ public function pool(callable $callback) * Start defining a series of piped processes. * * @param callable|array $callback - * @return \Illuminate\Process\Pipe + * @return \Illuminate\Contracts\Process\ProcessResult */ public function pipe(callable|array $callback, ?callable $output = null) { diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index dbe03cf8746e..1df17ba7e7a9 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -35,7 +35,7 @@ * @method static \Illuminate\Process\Factory assertDidntRun(\Closure|string $callback) * @method static \Illuminate\Process\Factory assertNothingRan() * @method static \Illuminate\Process\Pool pool(callable $callback) - * @method static \Illuminate\Process\Pipe pipe(callable|array $callback, callable|null $output = null) + * @method static \Illuminate\Contracts\Process\ProcessResult pipe(callable|array $callback, callable|null $output = null) * @method static \Illuminate\Process\ProcessPoolResults concurrently(callable $callback, callable|null $output = null) * @method static \Illuminate\Process\PendingProcess newPendingProcess() * @method static void macro(string $name, object|callable $macro)