Array push on hot loop

This commit is contained in:
Jake Barnby 2026-02-04 19:27:18 +13:00
parent 2c790ecd84
commit 2f5e5d384f

View file

@ -433,7 +433,7 @@ class Realtime extends MessagingAdapter
} }
if (in_array($method, [Query::TYPE_AND, Query::TYPE_OR], true)) { if (in_array($method, [Query::TYPE_AND, Query::TYPE_OR], true)) {
$stack = array_merge($stack, $query->getValues()); \array_push($stack, ...$query->getValues());
} }
} }