File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
src/DependencyInjection/Compiler Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,12 @@ public function process(ContainerBuilder $container)
4747 $ this ->keyAttribute ,
4848 function ($ key , $ serviceId , array $ tagAttributes ) use (&$ handlers ) {
4949 if (isset ($ tagAttributes ['method ' ])) {
50- $ callable = [$ serviceId , $ tagAttributes ['method ' ]];
50+ // Symfony 3.3 supports services by classname. This interferes with `is_callable`
51+ // in `ServiceLocatorAwareCallableResolver`
52+ $ callable = [
53+ 'serviceId ' => $ serviceId ,
54+ 'method ' => $ tagAttributes ['method ' ],
55+ ];
5156 } else {
5257 $ callable = $ serviceId ;
5358 }
Original file line number Diff line number Diff line change @@ -47,7 +47,12 @@ public function process(ContainerBuilder $container)
4747 $ this ->keyAttribute ,
4848 function ($ key , $ serviceId , array $ tagAttributes ) use (&$ handlers ) {
4949 if (isset ($ tagAttributes ['method ' ])) {
50- $ callable = [$ serviceId , $ tagAttributes ['method ' ]];
50+ // Symfony 3.3 supports services by classname. This interferes with `is_callable`
51+ // in `ServiceLocatorAwareCallableResolver`
52+ $ callable = [
53+ 'serviceId ' => $ serviceId ,
54+ 'method ' => $ tagAttributes ['method ' ],
55+ ];
5156 } else {
5257 $ callable = $ serviceId ;
5358 }
You can’t perform that action at this time.
0 commit comments