Contextual callable param inference for new expr #31
Annotations
2 errors
ImplicitToStringCast:
src/Psalm/Internal/Provider/FileProvider.php#L171
src/Psalm/Internal/Provider/FileProvider.php:171:17: ImplicitToStringCast: Argument 2 of RecursiveCallbackFilterIterator::__construct expects callable(SplFileInfo|string, string, RecursiveDirectoryIterator):bool, but impure-Closure(string, mixed, RecursiveIterator):bool provided with a __toString method (see https://psalm.dev/060)
|
build
Process completed with exit code 2.
|