Code Duplication    Length = 9-9 lines in 3 locations

src/Providers/ApplicationServiceProvider.php 3 locations

@@ 300-308 (lines=9) @@
297
	 *
298
	 * @since   1.0
299
	 */
300
	public function getHelpCommandService(Container $container) : AppCommands\HelpCommand
301
	{
302
		$command = new AppCommands\HelpCommand;
303
304
		$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
305
		$command->setInput($container->get(Input::class));
306
307
		return $command;
308
	}
309
310
	/**
311
	 * Get the Input\Cli class service
@@ 460-468 (lines=9) @@
457
	 *
458
	 * @since   1.0
459
	 */
460
	public function getSubmitControllerGetService(Container $container) : SubmitControllerGet
461
	{
462
		$controller = new SubmitControllerGet;
463
464
		$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
465
		$controller->setInput($container->get(Input::class));
466
467
		return $controller;
468
	}
469
470
	/**
471
	 * Get the Tags\JoomlaCommand class service
@@ 517-525 (lines=9) @@
514
	 *
515
	 * @since   1.0
516
	 */
517
	public function getUpdateCommandService(Container $container) : AppCommands\UpdateCommand
518
	{
519
		$command = new AppCommands\UpdateCommand;
520
521
		$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
522
		$command->setInput($container->get(Input::class));
523
524
		return $command;
525
	}
526
527
	/**
528
	 * Get the web application service