Skip to content

mime_content_type can receive a stream too#276

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
gnutix:patch-1
Jul 16, 2020
Merged

mime_content_type can receive a stream too#276
ondrejmirtes merged 1 commit intophpstan:masterfrom
gnutix:patch-1

Conversation

@gnutix
Copy link
Copy Markdown
Contributor

@gnutix gnutix commented Jul 16, 2020

Here's a playground demo: https://phpstan.org/r/477b6374-021f-4323-aeba-32688a1765d9
And here's an 3v4l of the same code: https://3v4l.org/78q2J

I'm not entirely certain of the syntax this src/Reflection/SignatureMap/functionMap.php file needs, but it should do the trick.

@ondrejmirtes ondrejmirtes merged commit bbda299 into phpstan:master Jul 16, 2020
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

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.

2 participants