File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/DependencyInjection/Compiler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
namespace Knp \Bundle \MenuBundle \DependencyInjection \Compiler ;
4
4
5
5
use Symfony \Component \DependencyInjection \Argument \IteratorArgument ;
6
- use Symfony \Component \DependencyInjection \ContainerBuilder ;
7
6
use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
7
+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
8
8
use Symfony \Component \DependencyInjection \Reference ;
9
9
10
10
/**
@@ -43,7 +43,7 @@ public function process(ContainerBuilder $container): void
43
43
}
44
44
45
45
krsort ($ voters );
46
- $ sortedVoters = \call_user_func_array ( ' array_merge ' , $ voters );
46
+ $ sortedVoters = array_merge (... $ voters );
47
47
48
48
$ definition ->replaceArgument (0 , new IteratorArgument ($ sortedVoters ));
49
49
}
You can’t perform that action at this time.
0 commit comments