We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found in PHPStan's code e.g. https://github.com/phpstan/phpstan-src/blob/35047b54c1d2435fe2e16488bf5a5164f313e123/src/Type/CallableType.php#L134-L138 (not saying that's a bug, but it's a place that Psalm flagged as being potentially dangerous).
<?php class A {} class AChild extends A {} array_map( function (AChild $c) : AChild { return $c; }, [new A(), new A()] );
https://phpstan.org/r/14c0aa8d-ade1-4fbb-ba0a-40bdc917682f
The text was updated successfully, but these errors were encountered:
This is the same as #1954.
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Found in PHPStan's code e.g. https://github.com/phpstan/phpstan-src/blob/35047b54c1d2435fe2e16488bf5a5164f313e123/src/Type/CallableType.php#L134-L138 (not saying that's a bug, but it's a place that Psalm flagged as being potentially dangerous).
https://phpstan.org/r/14c0aa8d-ade1-4fbb-ba0a-40bdc917682f
The text was updated successfully, but these errors were encountered: