diff --git a/src/Collection/EventCollection.php b/src/Collection/EventCollection.php index 460d3bb..7a6357d 100644 --- a/src/Collection/EventCollection.php +++ b/src/Collection/EventCollection.php @@ -12,7 +12,7 @@ final class EventCollection extends Collection public function excludeEventHosts(): self { return (new self($this->items))->filter(function (array $rsvp): bool { - return $rsvp['member']['event_context']['host']; + return !$rsvp['member']['event_context']['host']; }); } }