Code Duplication    Length = 9-9 lines in 4 locations

src/Providers/ApplicationServiceProvider.php 4 locations

@@ 262-270 (lines=9) @@
259
	 *
260
	 * @return  DisplayControllerCreate
261
	 */
262
	public function getDisplayControllerCreateService(Container $container) : DisplayControllerCreate
263
	{
264
		$controller = new DisplayControllerCreate;
265
266
		$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
267
		$controller->setInput($container->get(Input::class));
268
269
		return $controller;
270
	}
271
272
	/**
273
	 * Get the DisplayControllerGet class service
@@ 299-307 (lines=9) @@
296
	 *
297
	 * @return  AppCommands\HelpCommand
298
	 */
299
	public function getHelpCommandService(Container $container) : AppCommands\HelpCommand
300
	{
301
		$command = new AppCommands\HelpCommand;
302
303
		$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
304
		$command->setInput($container->get(Input::class));
305
306
		return $command;
307
	}
308
309
	/**
310
	 * Get the Input\Cli class service
@@ 441-449 (lines=9) @@
438
	 *
439
	 * @return  SubmitControllerGet
440
	 */
441
	public function getSubmitControllerGetService(Container $container) : SubmitControllerGet
442
	{
443
		$controller = new SubmitControllerGet;
444
445
		$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
446
		$controller->setInput($container->get(Input::class));
447
448
		return $controller;
449
	}
450
451
	/**
452
	 * Get the Tags\JoomlaCommand class service
@@ 492-500 (lines=9) @@
489
	 *
490
	 * @return  AppCommands\UpdateCommand
491
	 */
492
	public function getUpdateCommandService(Container $container) : AppCommands\UpdateCommand
493
	{
494
		$command = new AppCommands\UpdateCommand;
495
496
		$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
497
		$command->setInput($container->get(Input::class));
498
499
		return $command;
500
	}
501
502
	/**
503
	 * Get the web application service