Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated deprecated function from GuzzleHttp used on DropboxFile #199

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

1 participant