diff --git a/tests/PHPStan/Rules/Properties/data/redeclare-readonly-property.php b/tests/PHPStan/Rules/Properties/data/redeclare-readonly-property.php index a9e611d3b9..01f10b61cc 100644 --- a/tests/PHPStan/Rules/Properties/data/redeclare-readonly-property.php +++ b/tests/PHPStan/Rules/Properties/data/redeclare-readonly-property.php @@ -181,7 +181,7 @@ public function __construct(public readonly int $myProp) { class B15 extends A { public function __construct(public readonly int $myProp) { - self:foo(); + self::foo(); } public static function foo(): void