Skip to content

Conversation

@Pixelao
Copy link

@Pixelao Pixelao commented Aug 8, 2022

Updated deprecated function from GuzzleHttp used on DropboxFile

The function \GuzzleHttp\Psr7\mime_type_from_filename(string $filename) is deprecated and will be removed in guzzlehttp/psr7:2.0

Use MimeType::fromFilename instead.

More info: https://docs.aws.amazon.com/aws-sdk-php/v3/api/function-GuzzleHttp.Psr7.mimetype_from_filename.html

Changes:

  • Use MimeType::fromFilename instead mime_type_from_filename on function Dropboxfile->getMimetype()

@Pixelao Pixelao changed the title Updated a deprecated function from GuzzleHttp used on DropboxFile Updated deprecated function from GuzzleHttp used on DropboxFile Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant