Skip to content

Commit

Permalink
bug #5041 Fixed variable name in : Reference -> validation constraint…
Browse files Browse the repository at this point in the history
…s -> count -> PHP (aminemat)

This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #5041).

Discussion
----------

Fixed variable name in : Reference -> validation constraints -> count -> PHP

| Q                  | A
| -----------------| -------------
| Doc fix?        | yes
| New docs?   | no
| Applies to     | [2.6]
| Fixed tickets | no tickets

Commits
-------

55ee255 Fixed variable name in : Reference -> validation constraints -> count -> basic usage -> PHP
  • Loading branch information
weaverryan committed Mar 14, 2015
2 parents e245303 + 55ee255 commit 893ffad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/constraints/Count.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ you might add the following:
class Participant
{
public static function loadValidatorMetadata(ClassMetadata $data)
public static function loadValidatorMetadata(ClassMetadata $metadata)
{
$metadata->addPropertyConstraint('emails', new Assert\Count(array(
'min' => 1,
Expand Down

0 comments on commit 893ffad

Please sign in to comment.