Code Duplication    Length = 19-20 lines in 3 locations

lib/private/Template/JSConfigHelper.php 1 location

@@ 75-93 (lines=19) @@
72
	 * @param IniGetWrapper $iniWrapper
73
	 * @param IURLGenerator $urlGenerator
74
	 */
75
	public function __construct(IL10N $l,
76
								Defaults $defaults,
77
								IAppManager $appManager,
78
								ISession $session,
79
								$currentUser,
80
								IConfig $config,
81
								IGroupManager $groupManager,
82
								IniGetWrapper $iniWrapper,
83
								IURLGenerator $urlGenerator) {
84
		$this->l = $l;
85
		$this->defaults = $defaults;
86
		$this->appManager = $appManager;
87
		$this->session = $session;
88
		$this->currentUser = $currentUser;
89
		$this->config = $config;
90
		$this->groupManager = $groupManager;
91
		$this->iniWrapper = $iniWrapper;
92
		$this->urlGenerator = $urlGenerator;
93
	}
94
95
	public function getConfig() {
96

apps/systemtags/lib/Activity/Listener.php 1 location

@@ 77-95 (lines=19) @@
74
	 * @param IRootFolder $rootFolder
75
	 * @param IShareHelper $shareHelper
76
	 */
77
	public function __construct(IGroupManager $groupManager,
78
								IManager $activityManager,
79
								IUserSession $session,
80
								IConfig $config,
81
								ISystemTagManager $tagManager,
82
								IAppManager $appManager,
83
								IMountProviderCollection $mountCollection,
84
								IRootFolder $rootFolder,
85
								IShareHelper $shareHelper) {
86
		$this->groupManager = $groupManager;
87
		$this->activityManager = $activityManager;
88
		$this->session = $session;
89
		$this->config = $config;
90
		$this->tagManager = $tagManager;
91
		$this->appManager = $appManager;
92
		$this->mountCollection = $mountCollection;
93
		$this->rootFolder = $rootFolder;
94
		$this->shareHelper = $shareHelper;
95
	}
96
97
	/**
98
	 * @param ManagerEvent $event

settings/Controller/AppSettingsController.php 1 location

@@ 86-105 (lines=20) @@
83
	 * @param IFactory $l10nFactory
84
	 * @param BundleFetcher $bundleFetcher
85
	 */
86
	public function __construct($appName,
87
								IRequest $request,
88
								IL10N $l10n,
89
								IConfig $config,
90
								INavigationManager $navigationManager,
91
								IAppManager $appManager,
92
								CategoryFetcher $categoryFetcher,
93
								AppFetcher $appFetcher,
94
								IFactory $l10nFactory,
95
								BundleFetcher $bundleFetcher) {
96
		parent::__construct($appName, $request);
97
		$this->l10n = $l10n;
98
		$this->config = $config;
99
		$this->navigationManager = $navigationManager;
100
		$this->appManager = $appManager;
101
		$this->categoryFetcher = $categoryFetcher;
102
		$this->appFetcher = $appFetcher;
103
		$this->l10nFactory = $l10nFactory;
104
		$this->bundleFetcher = $bundleFetcher;
105
	}
106
107
	/**
108
	 * @NoCSRFRequired