Code Duplication    Length = 9-9 lines in 3 locations

src/Providers/ApplicationServiceProvider.php 3 locations

@@ 175-183 (lines=9) @@
172
173
		$container->share(
174
			HelpCommand::class,
175
			function (Container $container)
176
			{
177
				$command = new HelpCommand;
178
179
				$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
180
				$command->setInput($container->get(Input::class));
181
182
				return $command;
183
			},
184
			true
185
		);
186
@@ 217-225 (lines=9) @@
214
215
		$container->share(
216
			UpdateCommand::class,
217
			function (Container $container)
218
			{
219
				$command = new UpdateCommand;
220
221
				$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
222
				$command->setInput($container->get(Input::class));
223
224
				return $command;
225
			},
226
			true
227
		);
228
@@ 321-329 (lines=9) @@
318
319
		$container->share(
320
			SubmitControllerGet::class,
321
			function (Container $container)
322
			{
323
				$controller = new SubmitControllerGet;
324
325
				$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class));
326
				$controller->setInput($container->get(Input::class));
327
328
				return $controller;
329
			},
330
			true
331
		);
332