PHPLIB-1489: Handle CursorId deprecations #1583
Annotations
4 errors
TooManyArguments:
src/ChangeStream.php#L129
src/ChangeStream.php:129:53: TooManyArguments: Too many arguments for MongoDB\Driver\CursorInterface::getId - expecting 0 but saw 1 (see https://psalm.dev/026)
|
ImplementedReturnTypeMismatch:
src/Model/CodecCursor.php#L79
src/Model/CodecCursor.php:79:17: ImplementedReturnTypeMismatch: The inherited return type 'MongoDB\Driver\CursorId' for MongoDB\Driver\CursorInterface::getId is different to the implemented return type for MongoDB\Model\CodecCursor::getid 'MongoDB\BSON\Int64|MongoDB\Driver\CursorId' (see https://psalm.dev/123)
|
TooManyArguments:
src/Model/CodecCursor.php#L95
src/Model/CodecCursor.php:95:31: TooManyArguments: Too many arguments for MongoDB\Driver\Cursor::getId - expecting 0 but saw 1 (see https://psalm.dev/026)
|
Psalm
Process completed with exit code 2.
|