Skip to content

Filesystem::mimeType return type conflicts with FileAttributes::mimeType() #1855

Open
@jacekkarczmarczyk

Description

@jacekkarczmarczyk

Bug Report

Q A
Flysystem Version 3.29.1
Adapter Name -
Adapter version -

Summary

FileAttributes::mimeType() returns ?string but Filesystem::mimeType() returns string. This means that if the former returns null, the latter will throw a TypeError exception. This issue may also affect other attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions