We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09c0a75 commit b619be1Copy full SHA for b619be1
tests/PHPStan/Rules/Methods/data/dynamic-static-call.php
@@ -30,7 +30,7 @@ final static public function finalFoo():int
30
class Baz {
31
function doBaz(Foo $foo, FinalFoo $finalFoo, Bar $bar):void {
32
$foo::doFoo(); // no error, subclass could override static method with impure impl
33
- $finalFoo::doFoo(); // could error, because final class
34
- $bar::finalFoo(); // could error, because final method
+ $finalFoo::doFoo(); // could be "Call to static method .. on a separate line has no effect", because final class
+ $bar::finalFoo(); // could be "Call to static method .. on a separate line has no effect", because final method
35
}
36
0 commit comments