We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd4df25 commit 1ba4bebCopy full SHA for 1ba4beb
tests/PHPStan/Rules/Methods/data/bug-4801.php
@@ -13,7 +13,7 @@ interface I {
13
* @param (callable(T): TResult)|null $a
14
* @return I<TResult>
15
*/
16
- public function work(callable|null $a): I;
+ public function work(?callable $a): I;
17
}
18
19
/**
0 commit comments