Permalink
Browse files

minor #4523 Add missing semicolons to PropertyAccess examples (loonyt…

…oons)

This PR was merged into the 2.3 branch.

Discussion
----------

Add missing semicolons to PropertyAccess examples

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

Commits
-------

dbba41a Add missing semicolons to PropertyAccess examples
  • Loading branch information...
wouterj committed Nov 28, 2014
2 parents 0d0b031 + dbba41a commit bf616581f4ccce6d355413595fb6fe69831fc553
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/property_access/introduction.rst
@@ -363,7 +363,7 @@ configured to enable extra features. To do that you could use the
$accessorBuilder->disableMagicCall();
// Check if magic __call handling is enabled
$accessorBuilder->isMagicCallEnabled() // true or false
$accessorBuilder->isMagicCallEnabled(); // true or false
// At the end get the configured property accessor
$accessor = $accessorBuilder->getPropertyAccessor();
@@ -376,7 +376,7 @@ configured to enable extra features. To do that you could use the
Or you can pass parameters directly to the constructor (not the recommended way)::
// ...
$accessor = new PropertyAccessor(true) // this enables handling of magic __call
$accessor = new PropertyAccessor(true); // this enables handling of magic __call
.. _Packagist: https://packagist.org/packages/symfony/property-access

0 comments on commit bf61658

Please sign in to comment.