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

modules/comment/comment.item.php 1 location

@@ 428-435 (lines=8) @@
425
		return gmdate("D, d M Y H:i:s", $this->getUpdateTime());
426
	}
427
428
	function hasUploadedFiles()
429
	{
430
		if(($this->isSecret() && !$this->isAccessible()) && !$this->isGranted())
431
		{
432
			return FALSE;
433
		}
434
		return $this->get('uploaded_count') ? TRUE : FALSE;
435
	}
436
437
	function getUploadedFiles()
438
	{

modules/document/document.item.php 1 location

@@ 1062-1068 (lines=7) @@
1059
		return implode('', $buff);
1060
	}
1061
1062
	function hasUploadedFiles()
1063
	{
1064
		if(!$this->document_srl) return;
1065
1066
		if($this->isSecret() && !$this->isGranted()) return false;
1067
		return $this->get('uploaded_count')? true : false;
1068
	}
1069
1070
	function getUploadedFiles($sortIndex = 'file_srl')
1071
	{