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

widgets/content/content.class.php 1 location

@@ 802-811 (lines=10) @@
799
	{
800
		$this->add('extra_images',$extra_images);
801
	}
802
	function setDomain($domain)
803
	{
804
		static $default_domain = null;
805
		if(!$domain)
806
		{
807
			if(is_null($default_domain)) $default_domain = Context::getDefaultUrl();
808
			$domain = $default_domain;
809
		}
810
		$this->domain = $domain;
811
	}
812
	function setLink($url)
813
	{
814
		$this->add('url', strip_tags($url));

widgets/mcontent/mcontent.class.php 1 location

@@ 693-702 (lines=10) @@
690
	{
691
		$this->add('extra_images',$extra_images);
692
	}
693
	function setDomain($domain)
694
	{
695
		static $default_domain = null;
696
		if(!$domain)
697
		{
698
			if(is_null($default_domain)) $default_domain = Context::getDefaultUrl();
699
			$domain = $default_domain;
700
		}
701
		$this->domain = $domain;
702
	}
703
	function setLink($url)
704
	{
705
		$this->add('url',$url);