Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/integration/data/PHP84/PropertyHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/PHP84/PropertyHookAsymmetric.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)';
Expand Down
Loading