Send a blank email to [email protected] to get a copy of this message
Author: Benoît WERY (beesofts)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2025-05-14T16:43:17+08:00
Commit: https://github.com/php/doc-en/commit/cd2980a57a0845def25ed84276d9662159a91bd5
Raw diff: https://github.com/php/doc-en/commit/cd2980a57a0845def25ed84276d9662159a91bd5.diff
Fix typo in property-hooks.xml (#4676)
Co-authored-by: Luffy <[email protected]>
Changed paths:
M language/oop5/property-hooks.xml
Diff:
diff --git a/language/oop5/property-hooks.xml b/language/oop5/property-hooks.xml
index 396049cb165e..94d460f43b97 100644
--- a/language/oop5/property-hooks.xml
+++ b/language/oop5/property-hooks.xml
@@ -104,7 +104,7 @@ print $example->foo;
</simpara>
<simpara>
At least one of the hooks references <code>$this->foo</code>, the property
itself.
- That means the property wll be "backed."
+ That means the property will be "backed".
When calling <code>$example->foo = 'changed'</code>,
the provided string will be first cast to lowercase, then saved to the backing value.
When reading from the property, the previously saved value may conditionally be appended