Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

mb_encode_mimeheader() attempts to return a void from Patchwork\PHP\Shim\mb_encode_mimeheader() #37

Closed
Donatello-za opened this issue Feb 2, 2015 · 1 comment

Comments

@Donatello-za
Copy link

The mb_encode_mimeheader() function in Utf8/Bootup/mbstring.php returns with a result from Patchwork\PHP\Shim\mb_encode_mimeheader() in PHP/Shim/Mbstring.php but Patchwork\PHP\Shim\mb_encode_mimeheader() itself actually returns a void. This produces code inspection warnings and possible bugs.

@nicolas-grekas
Copy link
Contributor

Closing as "won't fix": the fact that this has no return value is because the shim has no implementation. If it had one, it would return a string.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants