diff --git a/components/property_access/introduction.rst b/components/property_access/introduction.rst index 26991f046e9..91cfb2c3e3d 100644 --- a/components/property_access/introduction.rst +++ b/components/property_access/introduction.rst @@ -162,7 +162,7 @@ At last, ``getValue`` can use the magic ``__get`` method too:: class Person { private $children = array( - 'wouter' => array(...), + 'Wouter' => array(...), ); public function __get($id) @@ -196,7 +196,7 @@ Writing to Objects ------------------ The ``setValue`` method has the same features as the ``getValue`` method. You -can use setters, the magic ``__set`` or properties to set values:: +can use setters, the magic ``__set`` method or properties to set values:: // ... class Person