fix: var ref.

This commit is contained in:
Darshan 2025-05-09 10:02:14 +05:30
parent ef30e827c7
commit 938b376f3c

View file

@ -287,7 +287,7 @@ class Update extends Action
$response->dynamic($document, $this->getResponseModel());
$relationships = \array_map(
fn ($row) => $document->getAttribute('key'),
fn ($document) => $document->getAttribute('key'),
\array_filter(
$collection->getAttribute('attributes', []),
fn ($attribute) => $attribute->getAttribute('type') === Database::VAR_RELATIONSHIP