PHPLIB-1627: BulkWriteCommand API #2364
Annotations
10 errors
MixedAssignment:
src/BulkWriteCommandBuilder.php#L77
src/BulkWriteCommandBuilder.php:77:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/BulkWriteCommandBuilder.php#L87
src/BulkWriteCommandBuilder.php:87:62: MixedArgument: Argument 2 of MongoDB\Driver\BulkWriteCommand::deleteOne cannot be mixed, expecting array<array-key, mixed>|object (see https://psalm.dev/030)
|
MixedAssignment:
src/BulkWriteCommandBuilder.php#L94
src/BulkWriteCommandBuilder.php:94:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/BulkWriteCommandBuilder.php#L104
src/BulkWriteCommandBuilder.php:104:63: MixedArgument: Argument 2 of MongoDB\Driver\BulkWriteCommand::deleteMany cannot be mixed, expecting array<array-key, mixed>|object (see https://psalm.dev/030)
|
PossiblyInvalidArgument:
src/BulkWriteCommandBuilder.php#L112
src/BulkWriteCommandBuilder.php:112:46: PossiblyInvalidArgument: Argument 1 of MongoDB\Codec\DocumentCodec::encode expects object, but possibly different type array<array-key, mixed>|object provided (see https://psalm.dev/092)
|
MixedAssignment:
src/BulkWriteCommandBuilder.php#L116
src/BulkWriteCommandBuilder.php:116:9: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/BulkWriteCommandBuilder.php#L123
src/BulkWriteCommandBuilder.php:123:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
PossiblyInvalidArgument:
src/BulkWriteCommandBuilder.php#L126
src/BulkWriteCommandBuilder.php:126:49: PossiblyInvalidArgument: Argument 1 of MongoDB\Codec\DocumentCodec::encode expects object, but possibly different type array<array-key, mixed>|object provided (see https://psalm.dev/092)
|
MixedArgument:
src/BulkWriteCommandBuilder.php#L158
src/BulkWriteCommandBuilder.php:158:63: MixedArgument: Argument 2 of MongoDB\Driver\BulkWriteCommand::replaceOne cannot be mixed, expecting array<array-key, mixed>|object (see https://psalm.dev/030)
|
MixedAssignment:
src/BulkWriteCommandBuilder.php#L165
src/BulkWriteCommandBuilder.php:165:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|