Incorrect handling of builtin return-type #13873
-
|
Hey all, I'm not sure if this warranties a bug-report, so I thought I'd ask here before I do: The following code: Causes: It seems as if phpstan doesn't consider DOMNode::C14N to return |
Beta Was this translation helpful? Give feedback.
Answered by
ondrejmirtes
Dec 2, 2025
Replies: 1 comment 6 replies
-
|
Please reproduce the problem on phpstan.org/try. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could be fixed with
__benevolent<string|false>inresources/functionMap.phpin phpstan-src.