src/Routing/Router.php
protected function mergeLastGroupAttributes(array $attributes)
    {
        if (empty($this->groupStack)) {
            return $this->mergeGroup($attributes, []);
        }

        return $this->mergeGroup($attributes, end($this->groupStack));
    }
protected function mergeLastGroupAttributes(array $attributes)
    {
        if (empty($this->groupStack)) {
            return $this->mergeGroup($attributes, []);
        }

        return $this->mergeGroup($attributes, end($this->groupStack));
    }
protected function mergeLastGroupAttributes ( array $ attributes ) { if ( empty ( $ this -> groupStack ) ) { return $ this -> mergeGroup ( $ attributes , [ ] ) ; } return $ this -> mergeGroup ( $ attributes , end ( $ this -> groupStack ) ) ; }
Merge the last groups attributes.

@param array $attributes

@return array
Merge the last groups attributes .