Explorar o código

Remove templates method from method calls

Thomas Rabaix %!s(int64=13) %!d(string=hai) anos
pai
achega
1bb14449d2

+ 2 - 0
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

@@ -236,6 +236,8 @@ class AddDependencyCallsCompilerPass implements CompilerPassInterface
             $pos++;
             $pos++;
         }
         }
 
 
+        $definition->setMethodCalls($methods);
+
         // make sure the default templates are defined
         // make sure the default templates are defined
         $definedTemplates = array_merge(array(
         $definedTemplates = array_merge(array(
             'user_block'        => 'SonataAdminBundle:Core:user_block.html.twig',
             'user_block'        => 'SonataAdminBundle:Core:user_block.html.twig',