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 = 10-11 lines in 2 locations

modules/comment/comment.controller.php 1 location

@@ 884-894 (lines=11) @@
881
		}
882
883
		// call a trigger (after)
884
		if($output->toBool())
885
		{
886
			$comment->isMoveToTrash = $isMoveToTrash;
887
			$trigger_output = ModuleHandler::triggerCall('comment.deleteComment', 'after', $comment);
888
			if(!$trigger_output->toBool())
889
			{
890
				$oDB->rollback();
891
				return $trigger_output;
892
			}
893
			unset($comment->isMoveToTrash);
894
		}
895
896
		if(!$isMoveToTrash)
897
		{

modules/document/document.controller.php 1 location

@@ 651-660 (lines=10) @@
648
649
		//this
650
		// Call a trigger (after)
651
		if($output->toBool())
652
		{
653
			$trigger_obj = $oDocument->getObjectVars();
654
			$trigger_output = ModuleHandler::triggerCall('document.deleteDocument', 'after', $trigger_obj);
655
			if(!$trigger_output->toBool())
656
			{
657
				$oDB->rollback();
658
				return $trigger_output;
659
			}
660
		}
661
		// declared document, log delete
662
		$this->_deleteDeclaredDocuments($args);
663
		$this->_deleteDocumentReadedLog($args);