style: move closing bracket

This commit is contained in:
Oliver Davies 2022-01-13 21:43:23 +00:00
parent ce8b3466ff
commit 231e7dc9cd

View file

@ -18,7 +18,8 @@ final class FakeEventRepository implements EventRepository
['name' => 'Did not attend', 'response' => RsvpResponse::RESPONSE_NO, 'is_host' => false],
];
public function getConfirmedAttendees(): Collection {
public function getConfirmedAttendees(): Collection
{
return Collection::make(self::$rsvps)
->filter(fn (array $attendee): bool => $attendee['response']
== RsvpResponse::RESPONSE_YES)