|
@@ -22,7 +22,6 @@ class ConstraintViolationFactory implements HandlerFactoryInterface
|
|
{
|
|
{
|
|
$builder
|
|
$builder
|
|
->addDefaultsIfNotSet()
|
|
->addDefaultsIfNotSet()
|
|
- ->defaultValue(array())
|
|
|
|
;
|
|
;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -30,4 +29,4 @@ class ConstraintViolationFactory implements HandlerFactoryInterface
|
|
{
|
|
{
|
|
return 'jms_serializer.constraint_violation_handler';
|
|
return 'jms_serializer.constraint_violation_handler';
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|