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

modules/document/document.model.php 2 locations

@@ 851-860 (lines=10) @@
848
	 * @param int $module_srl
849
	 * @return string
850
	 */
851
	function getCategoryXmlFile($module_srl)
852
	{
853
		$xml_file = sprintf('files/cache/document_category/%s.xml.php',$module_srl);
854
		if(!file_exists($xml_file))
855
		{
856
			$oDocumentController = getController('document');
857
			$oDocumentController->makeCategoryFile($module_srl);
858
		}
859
		return $xml_file;
860
	}
861
862
	/**
863
	 * Php cache files in the document category return information
@@ 867-876 (lines=10) @@
864
	 * @param int $module_srl
865
	 * @return string
866
	 */
867
	function getCategoryPhpFile($module_srl)
868
	{
869
		$php_file = sprintf('files/cache/document_category/%s.php',$module_srl);
870
		if(!file_exists($php_file))
871
		{
872
			$oDocumentController = getController('document');
873
			$oDocumentController->makeCategoryFile($module_srl);
874
		}
875
		return $php_file;
876
	}
877
878
	/**
879
	 * Imported post monthly archive status