Переглянути джерело

sync with upstream symfony2.1

Helmer Aaviksoo 13 роки тому
батько
коміт
d34f7c3386

+ 1 - 2
DependencyInjection/Factory/ArrayCollectionFactory.php

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

+ 1 - 2
DependencyInjection/Factory/ConstraintViolationFactory.php

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

+ 0 - 1
DependencyInjection/Factory/DoctrineProxyFactory.php

@@ -22,7 +22,6 @@ class DoctrineProxyFactory implements HandlerFactoryInterface
     {
         $builder
             ->addDefaultsIfNotSet()
-            ->defaultValue(array())
         ;
     }
 

+ 1 - 2
DependencyInjection/Factory/FormErrorFactory.php

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