Skip to content

Commit 29b15b8

Browse files
committed
Merge pull request symfony#3121 from bicpi/fix_property_access_typos
[PropertyAccess] Fix typos
2 parents 292d7c0 + d7bd39a commit 29b15b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/property_access/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ At last, ``getValue`` can use the magic ``__get`` method too::
162162
class Person
163163
{
164164
private $children = array(
165-
'wouter' => array(...),
165+
'Wouter' => array(...),
166166
);
167167

168168
public function __get($id)
@@ -196,7 +196,7 @@ Writing to Objects
196196
------------------
197197

198198
The ``setValue`` method has the same features as the ``getValue`` method. You
199-
can use setters, the magic ``__set`` or properties to set values::
199+
can use setters, the magic ``__set`` method or properties to set values::
200200

201201
// ...
202202
class Person

0 commit comments

Comments
 (0)