diff --git a/tests/integration/data/PHP84/PropertyHook.php b/tests/integration/data/PHP84/PropertyHook.php index a83ff756..c0351085 100644 --- a/tests/integration/data/PHP84/PropertyHook.php +++ b/tests/integration/data/PHP84/PropertyHook.php @@ -8,7 +8,7 @@ class PropertyHook /** @var string this is my property */ #[Property(new DateTimeImmutable())] - public string $example = 'default value' { + public string $example { /** Not sure this works, but it gets */ #[Getter(new DateTimeImmutable())] get { diff --git a/tests/integration/data/PHP84/PropertyHookAsymmetric.php b/tests/integration/data/PHP84/PropertyHookAsymmetric.php index 85253613..f51d7d2f 100644 --- a/tests/integration/data/PHP84/PropertyHookAsymmetric.php +++ b/tests/integration/data/PHP84/PropertyHookAsymmetric.php @@ -8,7 +8,7 @@ class PropertyHook /** @var string this is my property */ #[Property(new DateTimeImmutable())] - public private(set) string $example = 'default value' { + public private(set) string $example { get { if ($this->modified) { return $this->foo . ' (modified)';