Code Duplication    Length = 17-17 lines in 2 locations

lib/Service/GlobalScaleService.php 1 location

@@ 91-107 (lines=17) @@
88
	 * @param ConfigService $configService
89
	 * @param MiscService $miscService
90
	 */
91
	public function __construct(
92
		IURLGenerator $urlGenerator,
93
		IUserManager $userManager,
94
		IUserSession $userSession,
95
		Signer $signer,
96
		RemoteWrapperRequest $remoteWrapperRequest,
97
		ConfigService $configService,
98
		MiscService $miscService
99
	) {
100
		$this->urlGenerator = $urlGenerator;
101
		$this->userManager = $userManager;
102
		$this->userSession = $userSession;
103
		$this->signer = $signer;
104
		$this->remoteWrapperRequest = $remoteWrapperRequest;
105
		$this->configService = $configService;
106
		$this->miscService = $miscService;
107
	}
108
109
110
	/**

lib/Service/GSDownstreamService.php 1 location

@@ 86-102 (lines=17) @@
83
	 * @param ConfigService $configService
84
	 * @param MiscService $miscService
85
	 */
86
	public function __construct(
87
		$userId,
88
		IURLGenerator $urlGenerator,
89
		RemoteWrapperRequest $remoteWrapperRequest,
90
		DeprecatedCirclesRequest $circlesRequest,
91
		GlobalScaleService $globalScaleService,
92
		ConfigService $configService,
93
		MiscService $miscService
94
	) {
95
		$this->userId = $userId;
96
		$this->urlGenerator = $urlGenerator;
97
		$this->remoteWrapperRequest = $remoteWrapperRequest;
98
		$this->circlesRequest = $circlesRequest;
99
		$this->globalScaleService = $globalScaleService;
100
		$this->configService = $configService;
101
		$this->miscService = $miscService;
102
	}
103
104
105
	/**