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