Skip to content

Commit a27e585

Browse files
committed
Update bug-14362.php
1 parent b260dad commit a27e585

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/PHPStan/Analyser/nsrt/bug-14362.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static function u(): B&E {
5858
}
5959
}
6060

61-
function () : void {
61+
function doBar() : void {
6262
assertType('Closure(Bug14362\B): int', C::u()(...));
6363
assertType('Closure(Bug14362\B): int', D::u()(...));
6464

@@ -67,7 +67,7 @@ function () : void {
6767

6868
// Intersection with only maybe-callable types (neither has __invoke)
6969
assertType('Closure', H::u()(...));
70-
};
70+
}
7171

7272
function doFoo(string $c):void {
7373
if (is_callable($c)) {

0 commit comments

Comments
 (0)