File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ The ``Json`` constraint can be applied to a property or a "getter" method:
3535 * message = "You've entered an invalid Json."
3636 * )
3737 */
38- private $chapters;
38+ private $chapters;
3939 }
4040
4141 .. code-block :: yaml
@@ -74,8 +74,6 @@ The ``Json`` constraint can be applied to a property or a "getter" method:
7474
7575 class Book
7676 {
77- private $chapters;
78-
7977 public static function loadValidatorMetadata(ClassMetadata $metadata)
8078 {
8179 $metadata->addPropertyConstraint('chapters', new Assert\Json([
Original file line number Diff line number Diff line change @@ -74,8 +74,6 @@ string meant to contain a timezone identifier (e.g. ``America/New_York``):
7474
7575 class UserSettings
7676 {
77- protected $timezone;
78-
7977 public static function loadValidatorMetadata(ClassMetadata $metadata)
8078 {
8179 $metadata->addPropertyConstraint('timezone', new Assert\Timezone());
You can’t perform that action at this time.
0 commit comments