Skip to content

PHPLIB-1600 Accept stdClass objects in BSONDocument constructor #2165

PHPLIB-1600 Accept stdClass objects in BSONDocument constructor

PHPLIB-1600 Accept stdClass objects in BSONDocument constructor #2165

Triggered via pull request December 4, 2024 11:07
Status Failure
Total duration 1m 53s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
PossiblyInvalidArgument: src/Model/BSONDocument.php#L60
src/Model/BSONDocument.php:60:29: PossiblyInvalidArgument: Argument 1 of ArrayObject::__construct expects (array<TKey:ArrayObject as array-key, TValue:ArrayObject as mixed>)|null|object, but possibly different type array<string, mixed>|object provided (see https://psalm.dev/092)
Psalm
Process completed with exit code 2.