Skip to content

Commit

Permalink
Update Pipeline.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelamkoff authored Jan 11, 2022
1 parent b5c9099 commit 34cc076
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Pipeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ public static function makeOf(iterable $middleware = [], ?RequestHandlerInterfac
{
$pipeline = new self($fallbackHandler);

foreach ($middleware as $item)
{
$pipeline->pipe($item);
}

foreach ($middleware as $m) $pipeline->pipe($m);
return $pipeline;
}

Expand Down

0 comments on commit 34cc076

Please sign in to comment.