We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b260dad commit a27e585Copy full SHA for a27e585
1 file changed
tests/PHPStan/Analyser/nsrt/bug-14362.php
@@ -58,7 +58,7 @@ public static function u(): B&E {
58
}
59
60
61
-function () : void {
+function doBar() : void {
62
assertType('Closure(Bug14362\B): int', C::u()(...));
63
assertType('Closure(Bug14362\B): int', D::u()(...));
64
@@ -67,7 +67,7 @@ function () : void {
67
68
// Intersection with only maybe-callable types (neither has __invoke)
69
assertType('Closure', H::u()(...));
70
-};
+}
71
72
function doFoo(string $c):void {
73
if (is_callable($c)) {
0 commit comments