Code Duplication    Length = 11-11 lines in 2 locations

lib/private/App/AppStore/Fetcher/Fetcher.php 1 location

@@ 67-77 (lines=11) @@
64
	 * @param IConfig $config
65
	 * @param ILogger $logger
66
	 */
67
	public function __construct(Factory $appDataFactory,
68
								IClientService $clientService,
69
								ITimeFactory $timeFactory,
70
								IConfig $config,
71
								ILogger $logger) {
72
		$this->appData = $appDataFactory->get('appstore');
73
		$this->clientService = $clientService;
74
		$this->timeFactory = $timeFactory;
75
		$this->config = $config;
76
		$this->logger = $logger;
77
	}
78
79
	/**
80
	 * Fetches the response from the server

lib/private/Installer.php 1 location

@@ 78-88 (lines=11) @@
75
	 * @param ILogger $logger
76
	 * @param IConfig $config
77
	 */
78
	public function __construct(AppFetcher $appFetcher,
79
								IClientService $clientService,
80
								ITempManager $tempManager,
81
								ILogger $logger,
82
								IConfig $config) {
83
		$this->appFetcher = $appFetcher;
84
		$this->clientService = $clientService;
85
		$this->tempManager = $tempManager;
86
		$this->logger = $logger;
87
		$this->config = $config;
88
	}
89
90
	/**
91
	 * Installs an app that is located in one of the app folders already