Skip to content

Commit

Permalink
revert commit
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 28, 2022
1 parent 8f6fa2c commit 7563912
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -954,9 +954,7 @@ public function getMiddlewareGroups()
*/
public function middlewareGroup($name, array $middleware)
{
foreach ($middleware as $m) {
$this->pushMiddlewareToGroup($name, $m);
}
$this->middlewareGroups[$name] = $middleware;

return $this;
}
Expand Down

0 comments on commit 7563912

Please sign in to comment.