PHPLIB-1627: BulkWriteCommand API #2416
Annotations
10 errors
MixedAssignment:
src/ClientBulkWrite.php#L72
src/ClientBulkWrite.php:72:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/ClientBulkWrite.php#L82
src/ClientBulkWrite.php:82:63: MixedArgument: Argument 2 of MongoDB\Driver\BulkWriteCommand::deleteMany cannot be mixed, expecting array<array-key, mixed>|object (see https://psalm.dev/030)
|
MixedAssignment:
src/ClientBulkWrite.php#L89
src/ClientBulkWrite.php:89:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/ClientBulkWrite.php#L99
src/ClientBulkWrite.php:99:62: MixedArgument: Argument 2 of MongoDB\Driver\BulkWriteCommand::deleteOne cannot be mixed, expecting array<array-key, mixed>|object (see https://psalm.dev/030)
|
PossiblyInvalidArgument:
src/ClientBulkWrite.php#L107
src/ClientBulkWrite.php:107: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/ClientBulkWrite.php#L111
src/ClientBulkWrite.php:111:9: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/ClientBulkWrite.php#L118
src/ClientBulkWrite.php:118:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
PossiblyInvalidArgument:
src/ClientBulkWrite.php#L121
src/ClientBulkWrite.php:121: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/ClientBulkWrite.php#L153
src/ClientBulkWrite.php:153: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/ClientBulkWrite.php#L160
src/ClientBulkWrite.php:160:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|