Code Duplication    Length = 11-11 lines in 2 locations

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

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

lib/private/Installer.php 1 location

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