@@ -196,7 +196,9 @@ enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\Propert
196196 {
197197 $property = lcfirst(substr($name, 3));
198198 if ('get' === substr($name, 0, 3)) {
199- return isset($this->children[$property]) ? $this->children[$property] : null;
199+ return isset($this->children[$property])
200+ ? $this->children[$property]
201+ : null;
200202 } elseif ('set' === substr($name, 0, 3)) {
201203 $value = 1 == count($args) ? $args[0] : null;
202204 $this->children[$property] = $value;
@@ -289,7 +291,9 @@ see `Enable other Features`_.
289291 {
290292 $property = lcfirst(substr($name, 3));
291293 if ('get' === substr($name, 0, 3)) {
292- return isset($this->children[$property]) ? $this->children[$property] : null;
294+ return isset($this->children[$property])
295+ ? $this->children[$property]
296+ : null;
293297 } elseif ('set' === substr($name, 0, 3)) {
294298 $value = 1 == count($args) ? $args[0] : null;
295299 $this->children[$property] = $value;
@@ -307,7 +311,7 @@ see `Enable other Features`_.
307311
308312 $accessor->setValue($person, 'wouter', array(...));
309313
310- echo $person->getWouter() // array(...)
314+ echo $person->getWouter(); // array(...)
311315
312316 Mixing Objects and Arrays
313317-------------------------
0 commit comments