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

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