We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unless I get the idea wrong, simplexml return types will not work.
namespace Safe; // must return \SimpleXMLElement instead of Safe\SimpleXMLElement (class does not exist) function simplexml_load_string(...): \SimpleXMLElement { ... } function simplexml_load_file(...): \SimpleXMLElement { ... } function simplexml_import_dom(...): \SimpleXMLElement { ... }
I believe this is a general problem of https://github.com/thecodingmachine/safe/blob/master/generator/src/WritePhpFunction.php#L51
The text was updated successfully, but these errors were encountered:
Jesus!!! Let's fix this immediately!
Sorry, something went wrong.
Thanks a lot for the feedback. Fixed in #47.
@moufmouf wow respect for resolving this so quickly! One more proof for us to continue using this great library!
No branches or pull requests
Unless I get the idea wrong, simplexml return types will not work.
I believe this is a general problem of https://github.com/thecodingmachine/safe/blob/master/generator/src/WritePhpFunction.php#L51
The text was updated successfully, but these errors were encountered: