Skip to content

Commit

Permalink
[5.7] Remove Duplicated Code
Browse files Browse the repository at this point in the history
  • Loading branch information
simoebenhida committed Oct 21, 2018
1 parent 734d758 commit 61d6a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public function group(array $attributes, $routes)
protected function updateGroupStack(array $attributes)
{
if (! empty($this->groupStack)) {
$attributes = RouteGroup::merge($attributes, end($this->groupStack));
$attributes = $this->mergeWithLastGroup(...func_get_args());
}

$this->groupStack[] = $attributes;
Expand Down

0 comments on commit 61d6a8a

Please sign in to comment.