Skip to content

Commit cdf2127

Browse files
authored
Refactor example property to use getter method
1 parent e9d2197 commit cdf2127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/data/PHP84/PropertyHook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class PropertyHook
88

99
/** @var string this is my property */
1010
#[Property(new DateTimeImmutable())]
11-
public string $example = 'default value' {
11+
public string $example {
1212
/** Not sure this works, but it gets */
1313
#[Getter(new DateTimeImmutable())]
1414
get {

0 commit comments

Comments
 (0)