Code Duplication    Length = 7-13 lines in 3 locations

lib/Controller/FaceController.php 1 location

@@ 29-36 (lines=8) @@
26
	private $imageMapper;
27
	private $userId;
28
29
	public function __construct($AppName, IRequest $request, IRootFolder $rootFolder, FaceMapper $facemapper, FaceNewMapper $facenewmapper, ImageMapper $imagemapper, $UserId) {
30
		parent::__construct($AppName, $request);
31
		$this->rootFolder = $rootFolder;
32
		$this->faceMapper = $facemapper;
33
		$this->faceNewMapper = $facenewmapper;
34
		$this->imageMapper = $imagemapper;
35
		$this->userId = $UserId;
36
	}
37
38
	/**
39
	 * @NoAdminRequired

lib/Controller/FileController.php 1 location

@@ 33-45 (lines=13) @@
30
31
	private $userId;
32
33
	public function __construct($AppName, IRequest $request, IConfig $config,
34
	                            PersonMapper $personmapper,
35
	                            FaceNewMapper $facenewmapper,
36
	                            IRootFolder $rootFolder,
37
	                            $UserId)
38
	{
39
		parent::__construct($AppName, $request);
40
		$this->config = $config;
41
		$this->personMapper = $personmapper;
42
		$this->faceNewMapper = $facenewmapper;
43
		$this->rootFolder = $rootFolder;
44
		$this->userId = $UserId;
45
	}
46
47
	/**
48
	 * @NoAdminRequired

lib/Controller/PersonController.php 1 location

@@ 25-31 (lines=7) @@
22
	private $personMapper;
23
	private $userId;
24
25
	public function __construct($AppName, IRequest $request, IRootFolder $rootFolder, FaceMapper $facemapper, PersonMapper $personmapper, $UserId) {
26
		parent::__construct($AppName, $request);
27
		$this->rootFolder = $rootFolder;
28
		$this->faceMapper = $facemapper;
29
		$this->personMapper = $personmapper;
30
		$this->userId = $UserId;
31
	}
32
33
	/**
34
	 * @NoAdminRequired