Procházet zdrojové kódy

Merge pull request #38 from michal-pipa/deserializer-fix

Corrected typo in custom handler service tag.
Johannes před 13 roky
rodič
revize
af0e80fcb4

+ 2 - 2
DependencyInjection/Compiler/SetCustomHandlersPass.php

@@ -32,7 +32,7 @@ class SetCustomHandlersPass implements CompilerPassInterface
         }
 
         $deserializationHandlers = array();
-        foreach ($container->findTaggedServiceIds('jms_serializer.deserialization_handlers') as $id => $attributes) {
+        foreach ($container->findTaggedServiceIds('jms_serializer.deserialization_handler') as $id => $attributes) {
             $deserializationHandlers[] = new Reference($id);
         }
 
@@ -53,4 +53,4 @@ class SetCustomHandlersPass implements CompilerPassInterface
             ->replaceArgument(1, $deserializationHandlers)
         ;
     }
-}
+}