Sfoglia il codice sorgente

Corrected typo in custom handler service tag.

Fixes #37. Thanks to drssadowski.
Michał Pipa 13 anni fa
parent
commit
f9d1ab03f2
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      DependencyInjection/Compiler/SetCustomHandlersPass.php

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