Skip to content

Commit bb9c3c3

Browse files
committed
Fix component group removal
1 parent a6c2e26 commit bb9c3c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Entity/Utility/UiTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function addComponentGroup(ComponentGroup $componentGroup)
8686
public function removeComponentGroup(ComponentGroup $componentGroup)
8787
{
8888
if ($this->componentGroups->contains($componentGroup)) {
89-
$this->componentGroups->remove($componentGroup);
89+
$this->componentGroups->removeElement($componentGroup);
9090
}
9191

9292
return $this;

0 commit comments

Comments
 (0)