-
-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels