Closed allanmcarvalho closed 7 months ago
I think it's correctly marked as internal, and the IDE notice is just a warning that it might change without notice (which is true). As far as I know, PhpStorm's notice doesn't stop you from using the class at all.
I guess this is a little bit confusing though, as it's showing up on a built-in method.
@nunomaduro, what are your thoughts on this?
Lets remove the internal thing for now. Please make a pull request.
What Happened
It's provide a false IDE errors
How to Reproduce
When we use the method each() a closure is passed as param and a Expectation is provided on this closure as param, so if we want type the closure, a IDE error is printed as below.
Sample Repository
No response
Pest Version
2.25
PHP Version
8.2.0
Operation System
macOS
Notes
No response