Closed IanDelMar closed 2 months ago
I'll have a look at the failed checks tomorrow.
Jfyi I think we need to be careful to not introduce too many instanceof checks, see also https://phpstan.org/blog/why-is-instanceof-type-wrong-and-getting-deprecated :)
But don't let this block you here, maybe for the next PR. We can try to refactor some away later
@herndlm Thank you! I wasn't aware of that.
Implemented in stubs https://github.com/szepeviktor/phpstan-wordpress/pull/147
This PR adds a dynamic function return type extension for
wp_tag_cloud()
.I have made several updates to the extension since the initial draft:
instanceof
has been removed.