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

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