Code Duplication    Length = 15-16 lines in 2 locations

apps/dav/lib/Connector/Sabre/FilesReportPlugin.php 1 location

@@ 95-110 (lines=16) @@
92
	 * @param Tree $tree
93
	 * @param View $view
94
	 */
95
	public function __construct(Tree $tree,
96
								View $view,
97
								ISystemTagManager $tagManager,
98
								ISystemTagObjectMapper $tagMapper,
99
								IUserSession $userSession,
100
								IGroupManager $groupManager,
101
								Folder $userFolder
102
	) {
103
		$this->tree = $tree;
104
		$this->fileView = $view;
105
		$this->tagManager = $tagManager;
106
		$this->tagMapper = $tagMapper;
107
		$this->userSession = $userSession;
108
		$this->groupManager = $groupManager;
109
		$this->userFolder = $userFolder;
110
	}
111
112
	/**
113
	 * This initializes the plugin.

apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php 1 location

@@ 81-95 (lines=15) @@
78
	 * @param IGroupManager $groupManager
79
	 * @param IRootFolder $fileRoot
80
	 */
81
	public function __construct(
82
		$objectType, 
83
		ISystemTagManager $tagManager,
84
		ISystemTagObjectMapper $tagMapper,
85
		IUserSession $userSession,
86
		IGroupManager $groupManager,
87
		IRootFolder $fileRoot
88
	) {
89
		$this->tagManager = $tagManager;
90
		$this->tagMapper = $tagMapper;
91
		$this->objectType = $objectType;
92
		$this->userSession = $userSession;
93
		$this->groupManager = $groupManager;
94
		$this->fileRoot = $fileRoot;
95
	}
96
97
	/**
98
	 * @param string $name