Skip to content

Commit

Permalink
fix bug in dynamic attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 12, 2020
1 parent a2cea84 commit 93f4613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/ComponentAttributeBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function setAttributes(array $attributes)

unset($attributes['attributes']);

$attributes = $parentBag->merge($attributes);
$attributes = $parentBag->merge($attributes)->getAttributes();
}

$this->attributes = $attributes;
Expand Down

0 comments on commit 93f4613

Please sign in to comment.