From 196f70906592c415832f4da7c4b8276f5591941a Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Wed, 30 Jun 2021 10:18:57 +0200 Subject: [PATCH] activity, revert detail, cfr. https://gitlab.com/Chill-Projet/chill-bundles/-/merge_requests/94#note_614231268 --- src/Bundle/ChillActivityBundle/Entity/Activity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillActivityBundle/Entity/Activity.php b/src/Bundle/ChillActivityBundle/Entity/Activity.php index fbd10e723..549f800a2 100644 --- a/src/Bundle/ChillActivityBundle/Entity/Activity.php +++ b/src/Bundle/ChillActivityBundle/Entity/Activity.php @@ -282,7 +282,7 @@ class Activity implements HasCenterInterface, HasScopeInterface return $this->socialIssues; } - public function addSocialIssue(?SocialIssue $socialIssue): self + public function addSocialIssue(SocialIssue $socialIssue): self { if (!$this->socialIssues->contains($socialIssue)) { $this->socialIssues[] = $socialIssue; @@ -303,7 +303,7 @@ class Activity implements HasCenterInterface, HasScopeInterface return $this->socialActions; } - public function addSocialAction(?SocialAction $socialAction): self + public function addSocialAction(SocialAction $socialAction): self { if (!$this->socialActions->contains($socialAction)) { $this->socialActions[] = $socialAction;