Skip to content

Commit 7f840ef

Browse files
authored
Merge pull request #712 from AJenbo/patch-1
Fix syntax error in test PropertyHook
2 parents 6cba2e5 + 82b743f commit 7f840ef

2 files changed

Lines changed: 2 additions & 2 deletions

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 {

tests/integration/data/PHP84/PropertyHookAsymmetric.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 private(set) string $example = 'default value' {
11+
public private(set) string $example {
1212
get {
1313
if ($this->modified) {
1414
return $this->foo . ' (modified)';

0 commit comments

Comments
 (0)