Closed that-guy-iain closed 3 years ago
It looks like we're prefixing static with a \
, which is what we do for classes.
I think this should be added as an exception like we do for void
here https://github.com/phpspec/prophecy/blob/master/src/Prophecy/Doubler/Generator/Node/ReturnTypeNode.php#L11
Looks like this may be a dupe of #527
Yep. I'll close
I made the following change
And I got
I would expect it to treat static roughly the same way it treats self.