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

optional type hinting in guessExtension #1399

Merged
merged 2 commits into from
Nov 2, 2018

Conversation

nowackipawel
Copy link
Contributor

Null is allowed as the return value of \Config\Mimes::guessExtensionFromType that's why should be allowed in guessExtension either.

/ fix: no extension for given mimetype, PR#1368 (@daljit3 - thx, for pointing this out)/

Null is allowed as the return value of \Config\Mimes::guessExtensionFromType that's why should be allowed in guessExtension either.
thx @daljit3  for pointig this out.
guessExtension method definition in files was wrong either.
@lonnieezell lonnieezell merged commit 01153de into codeigniter4:develop Nov 2, 2018
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

2 participants