Permalink
Browse files

bug #4522 Add missing brackets to PropertyAccessor examples (loonytoons)

This PR was merged into the 2.5 branch.

Discussion
----------

Add missing brackets to PropertyAccessor examples

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.5+
| Fixed tickets | none

Commits
-------

d6b4795 Add missing brackets to PropertyAccessor examples
  • Loading branch information...
wouterj committed Nov 28, 2014
2 parents 58c0baf + d6b4795 commit e96ebd3a36ac73800bf31b6ddaa9a63ad37b3da4
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/property_access/introduction.rst
@@ -327,7 +327,7 @@ instead::
$person = new Person();
if ($accessor->isReadable($person, 'firstName') {
if ($accessor->isReadable($person, 'firstName')) {
// ...
}
@@ -338,7 +338,7 @@ method to find out whether a property path can be updated::
$person = new Person();
if ($accessor->isWritable($person, 'firstName') {
if ($accessor->isWritable($person, 'firstName')) {
// ...
}

0 comments on commit e96ebd3

Please sign in to comment.