Skip to content

Commit 7874ad1

Browse files
committed
lint
1 parent a172cfa commit 7874ad1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Validator/Operator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private function validateOperatorForAttribute(
148148

149149
// Handle both Document objects and arrays
150150
$type = $attribute instanceof Document ? $attribute->getAttribute('type') : $attribute['type'];
151-
$isArray = $attribute instanceof Document? ($attribute->getAttribute('array') ?? false) : ($attribute['array'] ?? false);
151+
$isArray = $attribute instanceof Document ? ($attribute->getAttribute('array') ?? false) : ($attribute['array'] ?? false);
152152

153153
// Array operators that carry a caller-supplied value list are capped to guard against
154154
// memory exhaustion. Enforced here so every adapter rejects an oversized list the same way.

0 commit comments

Comments
 (0)