Forráskód Böngészése

Corrected typo in custom handler service tag.

Fixes #37. Thanks to drssadowski.
Michał Pipa 13 éve
szülő
commit
f9d1ab03f2

+ 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)
         ;
     }
-}
+}