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

modules/document/document.item.php 2 locations

@@ 688-709 (lines=22) @@
685
		}
686
	}
687
688
	function getExtraEidValue($eid)
689
	{
690
		$extra_vars = $this->getExtraVars();
691
692
		if($extra_vars)
693
		{
694
			// Handle extra variable(eid)
695
			foreach($extra_vars as $idx => $key)
696
			{
697
				$extra_eid[$key->eid] = $key;
698
			}
699
		}
700
		
701
		if(is_array($extra_eid) && array_key_exists($eid,$extra_eid))
702
		{
703
			return $extra_eid[$eid]->getValue();
704
		}
705
		else
706
		{
707
			return '';
708
		}
709
	}
710
711
	function getExtraEidValueHTML($eid)
712
	{
@@ 711-728 (lines=18) @@
708
		}
709
	}
710
711
	function getExtraEidValueHTML($eid)
712
	{
713
		$extra_vars = $this->getExtraVars();
714
		// Handle extra variable(eid)
715
		foreach($extra_vars as $idx => $key)
716
		{
717
			$extra_eid[$key->eid] = $key;
718
		}
719
		
720
		if(is_array($extra_eid) && array_key_exists($eid,$extra_eid))
721
		{
722
			return $extra_eid[$eid]->getValueHTML();
723
		}
724
		else
725
		{
726
			return '';
727
		}
728
	}
729
730
	function getExtraVarsValue($key)
731
	{