From 274b48b29ce170040cc368fbd605a5331099ddf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heged=C5=B1s=20P=C3=A9ter=20L=C3=A1szl=C3=B3?= Date: Tue, 13 Aug 2024 15:28:12 +0200 Subject: [PATCH] Update concept-properties.md Modified a wrong sentence. --- docs/guide/concept-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/concept-properties.md b/docs/guide/concept-properties.md index 927b43c6e37..a648e32919a 100644 --- a/docs/guide/concept-properties.md +++ b/docs/guide/concept-properties.md @@ -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'`