Code Duplication    Length = 7-7 lines in 2 locations

src/Controller/DevelopersController.php 1 location

@@ 149-155 (lines=7) @@
146
     *
147
     * @return String augmented description
148
     */
149
	protected function _augmentDescription($description, $reportId) {
150
        $report = TableRegistry::get('Reports');
151
		$report->id = $reportId;
152
		return "$description\n\n\nThis report is related to user submitted report "
153
				. "[#" . $report->id . "](" . $report->getUrl()
154
				. ") on the phpmyadmin error reporting server.";
155
	}
156
}
157

src/Controller/GithubController.php 1 location

@@ 216-222 (lines=7) @@
213
 *
214
 * @return String augmented description
215
 */
216
	protected function _augmentDescription($description, $reportId) {
217
        $report = TableRegistry::get('Reports');
218
		$report->id = $reportId;
219
		return "$description\n\n\nThis report is related to user submitted report "
220
				. "[#" . $report->id . "](" . $report->getUrl()
221
				. ") on the phpmyadmin error reporting server.";
222
	}
223
224
/**
225
 * Github Response Handler