File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Symfony/Component/Form/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Component \DependencyInjection \Compiler \ServiceLocatorTagPass ;
17
17
use Symfony \Component \DependencyInjection \ContainerBuilder ;
18
18
use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
19
- use Symfony \Component \DependencyInjection \Definition ;
20
19
use Symfony \Component \DependencyInjection \Exception \InvalidArgumentException ;
21
20
use Symfony \Component \DependencyInjection \Reference ;
22
21
@@ -53,12 +52,12 @@ public function process(ContainerBuilder $container)
53
52
if (new IteratorArgument (array ()) != $ definition ->getArgument (2 )) {
54
53
return ;
55
54
}
56
- $ definition ->replaceArgument (0 , $ this ->processFormTypes ($ container, $ definition ));
55
+ $ definition ->replaceArgument (0 , $ this ->processFormTypes ($ container ));
57
56
$ definition ->replaceArgument (1 , $ this ->processFormTypeExtensions ($ container ));
58
57
$ definition ->replaceArgument (2 , $ this ->processFormTypeGuessers ($ container ));
59
58
}
60
59
61
- private function processFormTypes (ContainerBuilder $ container, Definition $ definition )
60
+ private function processFormTypes (ContainerBuilder $ container )
62
61
{
63
62
// Get service locator argument
64
63
$ servicesMap = array ();
You can’t perform that action at this time.
0 commit comments