Code Duplication    Length = 7-8 lines in 2 locations

controller/notescontroller.php 1 location

@@ 44-51 (lines=8) @@
41
     * @param IConfig $settings
42
     * @param string $UserId
43
     */
44
    public function __construct($AppName, IRequest $request,
45
                                NotesService $service, IConfig $settings,
46
                                $UserId){
47
        parent::__construct($AppName, $request);
48
        $this->notesService = $service;
49
        $this->settings = $settings;
50
        $this->userId = $UserId;
51
    }
52
53
54
    /**

controller/pagecontroller.php 1 location

@@ 44-50 (lines=7) @@
41
     * @param IConfig $settings
42
     * @param string $UserId
43
     */
44
    public function __construct($AppName, IRequest $request, $UserId,
45
                                NotesService $notesService, IConfig $settings){
46
        parent::__construct($AppName, $request);
47
        $this->notesService = $notesService;
48
        $this->userId = $UserId;
49
        $this->settings = $settings;
50
    }
51
52
53
    /**