Skip to content

Commit

Permalink
Update concept-properties.md
Browse files Browse the repository at this point in the history
Modified a wrong sentence.
  • Loading branch information
hegeduspeter02 authored Aug 13, 2024
1 parent 34d2396 commit 274b48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/concept-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ properties.

There are several special rules for, and limitations on, the properties defined via getters and setters:

* The names of such properties are *case-insensitive*. For example, `$object->label` and `$object->Label` are the same.
* The names of such properties are *case-insensitive*. For example, `$object->label` and `$object->Label` are considered different.
This is because method names in PHP are case-insensitive.
* If the name of such a property is the same as a class member variable, the latter will take precedence.
For example, if the above `Foo` class has a member variable `label`, then the assignment `$object->label = 'abc'`
Expand Down

0 comments on commit 274b48b

Please sign in to comment.