Replaced attribut with correct attribut

This commit is contained in:
Kevin Frantz 2018-11-24 20:25:58 +01:00
parent 98729b6aca
commit c927322153

View File

@ -13,14 +13,14 @@ trait MembersAttribut
/** /**
* @var Collection|SourceInterface[] * @var Collection|SourceInterface[]
*/ */
protected $memberships; protected $members;
/** /**
* @return Collection|SourceInterface[] * @return Collection|SourceInterface[]
*/ */
public function getMembers(): Collection public function getMembers(): Collection
{ {
return $this->memberships; return $this->members;
} }
/** /**
@ -28,6 +28,6 @@ trait MembersAttribut
*/ */
public function setMembers(Collection $members): void public function setMembers(Collection $members): void
{ {
$this->memberships = $members; $this->members = $members;
} }
} }