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

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