mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 06:01:35 +01:00
Implemented correct interface
This commit is contained in:
parent
de51749fea
commit
a06422a1c4
@ -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;
|
||||
interface MembershipsAttributInterface
|
||||
{
|
||||
/**
|
||||
* @param Collection|MemberCollectionSourceInterface[] $groups
|
||||
* @param Collection|TreeCollectionSourceInterface[] $groups
|
||||
*/
|
||||
public function setMemberships(Collection $memberships): void;
|
||||
|
||||
/**
|
||||
* @return Collection|MemberCollectionSourceInterface[]
|
||||
* @return Collection|TreeCollectionSourceInterface[]
|
||||
*/
|
||||
public function getMemberships(): Collection;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user