From de51749feadf327befba8a7667806b23da4cf372 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sat, 10 Nov 2018 16:19:08 +0100 Subject: [PATCH] Implemented correct interface --- application/src/Entity/Attribut/MembershipsAttribut.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/src/Entity/Attribut/MembershipsAttribut.php b/application/src/Entity/Attribut/MembershipsAttribut.php index 89173eb..281938d 100644 --- a/application/src/Entity/Attribut/MembershipsAttribut.php +++ b/application/src/Entity/Attribut/MembershipsAttribut.php @@ -3,7 +3,7 @@ namespace App\Entity\Attribut; use Doctrine\Common\Collections\Collection; -use App\Entity\Source\Collection\MemberCollectionSourceInterface; +use App\Entity\Source\Collection\TreeCollectionSourceInterface; /** * @author kevinfrantz @@ -11,12 +11,12 @@ use App\Entity\Source\Collection\MemberCollectionSourceInterface; trait MembershipsAttribut { /** - * @var Collection|MemberCollectionSourceInterface[] + * @var Collection|TreeCollectionSourceInterface[] */ protected $memberships; /** - * @return Collection|MemberCollectionSourceInterface[] + * @return Collection|TreeCollectionSourceInterface[] */ public function getMemberships(): Collection { @@ -24,7 +24,7 @@ trait MembershipsAttribut } /** - * @param Collection|MemberCollectionSourceInterface[] $memberships + * @param Collection|TreeCollectionSourceInterface[] $memberships */ public function setMemberships(Collection $memberships): void {