You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code examples for "Hook inheritance" (#9) and "Parent hook access (set)" (#10) are identical; it appears they were added this way in the initial commit. This is confusing, especially with the comment between them stating the former "could be rewritten more efficiently" as the latter, which is also present in the initial commit and not materially changed thereafter.
Please update either/both of these examples to show distinct approaches, or remove one of them along with the reference to rewriting. Thank you!
The text was updated successfully, but these errors were encountered:
From manual page: https://php.net/language.oop5.property-hooks
The code examples for "Hook inheritance" (
#9
) and "Parent hook access (set)" (#10
) are identical; it appears they were added this way in the initial commit. This is confusing, especially with the comment between them stating the former "could be rewritten more efficiently" as the latter, which is also present in the initial commit and not materially changed thereafter.Please update either/both of these examples to show distinct approaches, or remove one of them along with the reference to rewriting. Thank you!
The text was updated successfully, but these errors were encountered: