Skip to content

Commit

Permalink
minor symfony#9696 Update entity_provider.rst (matt9mg, javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was submitted for the 4.0 branch but it was merged into the 2.8 branch instead (closes symfony#9696).

Discussion
----------

Update entity_provider.rst

Keep the array syntax consistant between the 2 serialization functions that are implemented

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

Commits
-------

2ed5e7d Fixed inconsistency differently
4ea991d Update entity_provider.rst
  • Loading branch information
javiereguiluz committed Jul 3, 2018
2 parents 77246b5 + 2ed5e7d commit 23118f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/entity_provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ For this entry, suppose that you already have a ``User`` entity inside an
$this->password,
// see section on salt below
// $this->salt
) = unserialize($serialized, ['allowed_classes' => false]);
) = unserialize($serialized, array('allowed_classes' => false));
}
}

Expand Down

0 comments on commit 23118f7

Please sign in to comment.