PHPLIB-1568 Add GridFS\Bucket::deleteByName(filename)
and renameByName(filename, newFilename)
#2031
Annotations
3 errors
NullableReturnStatement:
src/GridFS/CollectionWrapper.php#L94
src/GridFS/CollectionWrapper.php:94:16: NullableReturnStatement: The declared return type 'int' for MongoDB\GridFS\CollectionWrapper::deleteFileAndChunksByFilename is not nullable, but the function returns 'int|null' (see https://psalm.dev/139)
|
InvalidNullableReturnType:
src/GridFS/CollectionWrapper.php#L266
src/GridFS/CollectionWrapper.php:266:87: InvalidNullableReturnType: The declared return type 'int' for MongoDB\GridFS\CollectionWrapper::updateFilenameForFilename is not nullable, but 'int|null' contains null (see https://psalm.dev/144)
|
Psalm
Process completed with exit code 2.
|