mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
fix small risky code
This commit is contained in:
@@ -133,7 +133,7 @@ class Evaluation
|
||||
public function removeSocialAction(SocialAction $socialAction): self
|
||||
{
|
||||
if ($this->socialActions->contains($socialAction)) {
|
||||
$this->socialActions->remove($socialAction);
|
||||
$this->socialActions->removeElement($socialAction);
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user