Skip to content

PHPLIB-1596 Fully describe $search, $searchMeta and $vectorSearch stages #2111

PHPLIB-1596 Fully describe $search, $searchMeta and $vectorSearch stages

PHPLIB-1596 Fully describe $search, $searchMeta and $vectorSearch stages #2111

Triggered via pull request November 26, 2024 17:29
Status Failure
Total duration 40s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
MixedArgument: src/Builder/Encoder/OperatorEncoder.php#L131
src/Builder/Encoder/OperatorEncoder.php:131:42: MixedArgument: Argument 1 of get_object_vars cannot be array<array-key, mixed>|mixed|stdClass, expecting object (see https://psalm.dev/030)
PossiblyInvalidArgument: src/Builder/Encoder/OperatorEncoder.php#L131
src/Builder/Encoder/OperatorEncoder.php:131:42: PossiblyInvalidArgument: Argument 1 of get_object_vars expects object, but possibly different type array<array-key, mixed>|mixed|stdClass provided (see https://psalm.dev/092)
MixedAssignment: src/Builder/Encoder/OperatorEncoder.php#L131
src/Builder/Encoder/OperatorEncoder.php:131:86: MixedAssignment: Unable to determine the type that $subval is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Builder/Encoder/OperatorEncoder.php#L166
src/Builder/Encoder/OperatorEncoder.php:166:45: MixedAssignment: Unable to determine the type that $val is being assigned to (see https://psalm.dev/032)
Psalm
Process completed with exit code 2.