Skip to content

Conversation

mmalferov
Copy link
Member

In the footsteps of the issue: #4151

In the footsteps of the issue: php#4151
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Btw, $both also looks suspicious. It only returns $all, but never writes to it. @Crell Can you clarify what the intention was here?

public string $writeable {
get => $this->written;
set => $value;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I would prefer to minimize spaces.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean the empty line between the get and set hooks?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@Crell
Copy link
Contributor

Crell commented Nov 25, 2024

Ha! That example was copied directly from the RFC, so, oops? Thanks for the catch.

@Crell Crell merged commit 993e347 into php:master Nov 25, 2024
2 checks passed
@mmalferov mmalferov deleted the patch-701667 branch January 20, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants