Skip to content

Commit 0366b86

Browse files
committed
fixup! skip readonly promtoed property
1 parent 293c88d commit 0366b86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules-tests/Php84/Rector/Class_/PropertyHookRector/Fixture/skip_readonly_promoted_property.php.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ namespace Rector\Tests\Php84\Rector\Class_\PropertyHookRector\Fixture;
55
final class SkipReadonlyPromotedProperty
66
{
77
public function __construct(
8-
private readonly int $a,
8+
private readonly int $value,
99
)
1010
{
1111
}
1212

13-
public function getA()
13+
public function getValue()
1414
{
15-
return $this->a;
15+
return $this->value;
1616
}
1717
}

0 commit comments

Comments
 (0)