Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 20, 2022
1 parent 05365f8 commit e6b84fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Illuminate/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -952,10 +952,11 @@ public function getMiddlewareGroups()
* @param array $middleware
* @return $this
*/
public function middlewareGroup($name, array $middlewares)
public function middlewareGroup($name, array $middleware)
{
foreach ($middlewares as $middleware)
$this->pushMiddlewareToGroup($name, $middleware);
foreach ($middleware as $m) {
$this->pushMiddlewareToGroup($name, $m);
}

return $this;
}
Expand Down

0 comments on commit e6b84fb

Please sign in to comment.