diff --git a/tests/CallableTest.php b/tests/CallableTest.php index ba9e5467da4..250afae7261 100644 --- a/tests/CallableTest.php +++ b/tests/CallableTest.php @@ -2637,7 +2637,7 @@ public function bar(): bool { function foo($arg) {} class A { - public static function bar(): bool { + public function bar(): bool { return true; } }