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

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