ソースを参照

Corrected typo in custom handler service tag.

Fixes #37. Thanks to drssadowski.
Michał Pipa 13 年 前
コミット
f9d1ab03f2
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)
         ;
     }
-}
+}