GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 8-10 lines in 2 locations

modules/comment/comment.item.php 1 location

@@ 458-467 (lines=10) @@
455
	 * Return the editor html
456
	 * @return string
457
	 */
458
	function getEditor()
459
	{
460
		$module_srl = $this->get('module_srl');
461
		if(!$module_srl)
462
		{
463
			$module_srl = Context::get('module_srl');
464
		}
465
		$oEditorModel = getModel('editor');
466
		return $oEditorModel->getModuleEditor('comment', $module_srl, $this->comment_srl, 'comment_srl', 'content');
467
	}
468
469
	/**
470
	 * Return author's profile image

modules/document/document.item.php 1 location

@@ 1079-1086 (lines=8) @@
1076
	 * Return Editor html
1077
	 * @return string
1078
	 */
1079
	function getEditor()
1080
	{
1081
		$module_srl = $this->get('module_srl');
1082
		if(!$module_srl) $module_srl = Context::get('module_srl');
1083
1084
		$oEditorModel = getModel('editor');
1085
		return $oEditorModel->getModuleEditor('document', $module_srl, $this->document_srl, 'document_srl', 'content');
1086
	}
1087
1088
	/**
1089
	 * Check whether to have a permission to write comment