mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 22:17:26 +01:00
Implemented correct interface
This commit is contained in:
parent
b13ca37959
commit
de51749fea
@ -3,7 +3,7 @@
|
|||||||
namespace App\Entity\Attribut;
|
namespace App\Entity\Attribut;
|
||||||
|
|
||||||
use Doctrine\Common\Collections\Collection;
|
use Doctrine\Common\Collections\Collection;
|
||||||
use App\Entity\Source\Collection\MemberCollectionSourceInterface;
|
use App\Entity\Source\Collection\TreeCollectionSourceInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
@ -11,12 +11,12 @@ use App\Entity\Source\Collection\MemberCollectionSourceInterface;
|
|||||||
trait MembershipsAttribut
|
trait MembershipsAttribut
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var Collection|MemberCollectionSourceInterface[]
|
* @var Collection|TreeCollectionSourceInterface[]
|
||||||
*/
|
*/
|
||||||
protected $memberships;
|
protected $memberships;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Collection|MemberCollectionSourceInterface[]
|
* @return Collection|TreeCollectionSourceInterface[]
|
||||||
*/
|
*/
|
||||||
public function getMemberships(): Collection
|
public function getMemberships(): Collection
|
||||||
{
|
{
|
||||||
@ -24,7 +24,7 @@ trait MembershipsAttribut
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Collection|MemberCollectionSourceInterface[] $memberships
|
* @param Collection|TreeCollectionSourceInterface[] $memberships
|
||||||
*/
|
*/
|
||||||
public function setMemberships(Collection $memberships): void
|
public function setMemberships(Collection $memberships): void
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user