Code Duplication    Length = 9-13 lines in 2 locations

apps/updatenotification/lib/Notification/Notifier.php 1 location

@@ 70-78 (lines=9) @@
67
	 * @param IUserSession $userSession
68
	 * @param IGroupManager $groupManager
69
	 */
70
	public function __construct(IURLGenerator $url, IConfig $config, IManager $notificationManager, IFactory $l10NFactory, IUserSession $userSession, IGroupManager $groupManager) {
71
		$this->url = $url;
72
		$this->notificationManager = $notificationManager;
73
		$this->config = $config;
74
		$this->l10NFactory = $l10NFactory;
75
		$this->userSession = $userSession;
76
		$this->groupManager = $groupManager;
77
		$this->appVersions = $this->getAppVersions();
78
	}
79
80
	/**
81
	 * @param INotification $notification

lib/private/NavigationManager.php 1 location

@@ 62-74 (lines=13) @@
59
	/** @var IConfig */
60
	private $config;
61
62
	public function __construct(IAppManager $appManager,
63
						 IURLGenerator $urlGenerator,
64
						 IFactory $l10nFac,
65
						 IUserSession $userSession,
66
						 IGroupManager $groupManager,
67
						 IConfig $config) {
68
		$this->appManager = $appManager;
69
		$this->urlGenerator = $urlGenerator;
70
		$this->l10nFac = $l10nFac;
71
		$this->userSession = $userSession;
72
		$this->groupManager = $groupManager;
73
		$this->config = $config;
74
	}
75
76
	/**
77
	 * Creates a new navigation entry