Code Duplication    Length = 7-7 lines in 2 locations

lib/Command/Generate.php 1 location

@@ 52-58 (lines=7) @@
49
	 * @param IUserManager $userManager
50
	 * @param IManager $notificationManager
51
	 */
52
	public function __construct(ITimeFactory $timeFactory, IUserManager $userManager, IManager $notificationManager) {
53
		parent::__construct();
54
55
		$this->timeFactory = $timeFactory;
56
		$this->userManager = $userManager;
57
		$this->notificationManager = $notificationManager;
58
	}
59
60
	protected function configure() {
61
		$this

lib/Controller/APIController.php 1 location

@@ 53-59 (lines=7) @@
50
	 * @param IUserManager $userManager
51
	 * @param IManager $notificationManager
52
	 */
53
	public function __construct($appName, IRequest $request, ITimeFactory $timeFactory, IUserManager $userManager, IManager $notificationManager) {
54
		parent::__construct($appName, $request);
55
56
		$this->timeFactory = $timeFactory;
57
		$this->userManager = $userManager;
58
		$this->notificationManager = $notificationManager;
59
	}
60
61
	/**
62
	 * @param string $userId