refactor: rename method

This commit is contained in:
Oliver Davies 2022-01-14 00:14:08 +00:00
parent 767c6f2ced
commit 8fe80b8992
4 changed files with 5 additions and 5 deletions

View file

@ -22,7 +22,7 @@ final class FakeEventRepository implements EventRepository
];
}
public function getConfirmedAttendees(): Collection
public function findAttendeesForEvent(): Collection
{
return Collection::make(self::$rsvps)
->filter(fn (\stdClass $attendee): bool => $attendee->is_attending)