Skip to content

Commit

Permalink
[10.x] update return type in docblock for Process pipe method (larave…
Browse files Browse the repository at this point in the history
…l#46848)

* update return type in docblock for Process pipe method

* update the Process.php docblock as well

* Update Factory.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
2 people authored and milwad-dev committed May 12, 2023
1 parent fb96849 commit 545ab0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Process/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 545ab0f

Please sign in to comment.