PHPLIB-1182: Support codec option in operation classes #752
Annotations
6 errors
src/ChangeStream.php#L117
src/ChangeStream.php:117:37: InvalidArgument: Argument 1 of MongoDB\Codec\DocumentCodec::decode expects MongoDB\BSON\Document, but array<array-key, mixed>|null|object provided (see https://psalm.dev/004)
|
src/Operation/FindAndModify.php#L265
src/Operation/FindAndModify.php:265:13: MixedAssignment: Unable to determine the type that $decoded is being assigned to (see https://psalm.dev/032)
|
src/Operation/FindAndModify.php#L265
src/Operation/FindAndModify.php:265:49: MixedMethodCall: Cannot determine the type of $this->options['codec'] when calling method decode (see https://psalm.dev/015)
|
src/Operation/FindAndModify.php#L267
src/Operation/FindAndModify.php:267:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
src/Operation/FindAndModify.php#L1
src/Operation/FindAndModify.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedMethodCall" has 1 extra entry. (see https://psalm.dev/316)
|
|
The logs for this run have expired and are no longer available.
Loading