From ce5fcb18f9772bedaba48bc2a6a82d928e3eea89 Mon Sep 17 00:00:00 2001 From: bencroker Date: Thu, 20 Jun 2024 15:43:18 +0200 Subject: [PATCH] Another comment --- .../conditions/segments/ContactIsAttendingConditionRule.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/conditions/segments/ContactIsAttendingConditionRule.php b/examples/conditions/segments/ContactIsAttendingConditionRule.php index 7aabc4f1..d309f416 100644 --- a/examples/conditions/segments/ContactIsAttendingConditionRule.php +++ b/examples/conditions/segments/ContactIsAttendingConditionRule.php @@ -49,6 +49,9 @@ public function modifyQuery(ElementQueryInterface $query): void /** @phpstan-ignore-next-line */ $ids = $rsvp->attending->ids(); + /** + * Filters contacts by IDs matching those that are attending. + */ $query->andWhere([ 'id' => $ids, ]);