style: move closing bracket
This commit is contained in:
parent
ce8b3466ff
commit
231e7dc9cd
|
@ -18,7 +18,8 @@ final class FakeEventRepository implements EventRepository
|
||||||
['name' => 'Did not attend', 'response' => RsvpResponse::RESPONSE_NO, 'is_host' => false],
|
['name' => 'Did not attend', 'response' => RsvpResponse::RESPONSE_NO, 'is_host' => false],
|
||||||
];
|
];
|
||||||
|
|
||||||
public function getConfirmedAttendees(): Collection {
|
public function getConfirmedAttendees(): Collection
|
||||||
|
{
|
||||||
return Collection::make(self::$rsvps)
|
return Collection::make(self::$rsvps)
|
||||||
->filter(fn (array $attendee): bool => $attendee['response']
|
->filter(fn (array $attendee): bool => $attendee['response']
|
||||||
== RsvpResponse::RESPONSE_YES)
|
== RsvpResponse::RESPONSE_YES)
|
||||||
|
|
Loading…
Reference in a new issue