refactor(meetup): specify the event ID
This commit is contained in:
parent
bb14c14b32
commit
24151c26ec
6 changed files with 12 additions and 6 deletions
|
@ -22,7 +22,7 @@ final class FakeEventRepository implements EventRepository
|
|||
];
|
||||
}
|
||||
|
||||
public function findAttendeesForEvent(): Collection
|
||||
public function findAttendeesForEvent(int $eventId): Collection
|
||||
{
|
||||
return Collection::make(self::$rsvps)
|
||||
->filter(fn (\stdClass $attendee): bool => $attendee->is_attending)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue