Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 551ce9b

Browse files
committed
corrected syntax errors
1 parent 87c92f1 commit 551ce9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/validation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ annotations if you're using the annotation method to specify your constraints:
270270
// app/config/config.php
271271
$container->loadFromExtension('framework', array('validation' => array(
272272
'enable_annotations' => true,
273-
));
273+
)));
274274
275275
.. index::
276276
single: Validation; Constraints
@@ -367,7 +367,7 @@ constraint, have several configuration options available. Suppose that the
367367
$metadata->addPropertyConstraint('gender', new Choice(array(
368368
'choices' => array('male', 'female'),
369369
'message' => 'Choose a valid gender.',
370-
));
370+
)));
371371
}
372372
}
373373

0 commit comments

Comments
 (0)