Skip to content

Commit 82b743f

Browse files
committed
Refactor example property to use getter method
1 parent e7d96c8 commit 82b743f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)