@@ -237,7 +237,7 @@ public function register(Container $app)
237237 }
238238
239239 $ app ['web_profiler.controller.profiler ' ] = function ($ app ) use ($ baseDir ) {
240- return new ProfilerController ($ app ['url_generator ' ], $ app ['profiler ' ], $ app ['twig ' ], $ app ['data_collector.templates ' ], $ app [ ' web_profiler.debug_toolbar.position ' ], null , $ baseDir );
240+ return new ProfilerController ($ app ['url_generator ' ], $ app ['profiler ' ], $ app ['twig ' ], $ app ['data_collector.templates ' ], null , $ baseDir );
241241 };
242242
243243 $ app ['web_profiler.controller.router ' ] = function ($ app ) {
@@ -251,7 +251,7 @@ public function register(Container $app)
251251 $ app ['web_profiler.toolbar.listener ' ] = function ($ app ) {
252252 $ mode = $ app ['web_profiler.debug_toolbar.enable ' ] ? WebDebugToolbarListener::ENABLED : WebDebugToolbarListener::DISABLED ;
253253
254- return new WebDebugToolbarListener ($ app ['twig ' ], $ app ['web_profiler.debug_toolbar.intercept_redirects ' ], $ mode , $ app ['web_profiler.debug_toolbar.position ' ], $ app [ ' url_generator ' ]);
254+ return new WebDebugToolbarListener ($ app ['twig ' ], $ app ['web_profiler.debug_toolbar.intercept_redirects ' ], $ mode , $ app ['url_generator ' ]);
255255 };
256256
257257 $ app ['profiler ' ] = function ($ app ) {
@@ -272,7 +272,6 @@ public function register(Container $app)
272272 $ app ['profiler.only_exceptions ' ] = false ;
273273 $ app ['profiler.only_master_requests ' ] = false ;
274274 $ app ['web_profiler.debug_toolbar.enable ' ] = true ;
275- $ app ['web_profiler.debug_toolbar.position ' ] = 'bottom ' ;
276275 $ app ['web_profiler.debug_toolbar.intercept_redirects ' ] = false ;
277276
278277 $ app ['profiler.listener ' ] = function ($ app ) {
0 commit comments