Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change asymmetric visibility example to show how it simplifies code #1135

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

theodorejb
Copy link
Contributor

@theodorejb theodorejb commented Nov 20, 2024

The previous example wasn't very helpful, since it only showed invalid code that will error (and could just as easily be replaced with a readonly property).

Copy link

github-actions bot commented Nov 20, 2024

🚀 Preview for commit 420a34a can be found at https://web-php-pr-1135.preview.thephp.foundation

Copy link

github-actions bot commented Nov 20, 2024

🚀 Regression report for commit 420a34a is at https://web-php-regression-report-pr-1135.preview.thephp.foundation

@saundefined
Copy link
Member

LGTM, thanks!

@TimWolla can you also take a look?

Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

Example is clearly an improvement.

releases/8.4/release.inc Outdated Show resolved Hide resolved
The previous example wasn't very helpful, since it only showed invalid code that will error (and could just as easily be replaced with a readonly property).
@saundefined saundefined merged commit ad331ce into php:master Nov 21, 2024
4 of 5 checks passed
@theodorejb theodorejb deleted the asymmetric-visibility-example branch November 21, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants