瀏覽代碼

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

Corrected typo in custom handler service tag.
Johannes 13 年之前
父節點
當前提交
af0e80fcb4
共有 1 個文件被更改,包括 2 次插入2 次删除
  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)
         ;
     }
-}
+}