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 fb418f4 commit 90e6c1e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Router.php
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 90e6c1e

Please sign in to comment.