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

widgets/content/content.class.php 1 location

@@ 414-431 (lines=18) @@
411
		return $content_items;
412
	}
413
414
	function _getRssBody($value)
415
	{
416
		if(!$value || is_string($value)) return $value;
417
		if(is_object($value)) $value = get_object_vars($value);
418
		$body = null;
419
		if(!count($value)) return;
420
		foreach($value as $key => $val)
421
		{
422
			if($key == 'body')
423
			{
424
				$body = $val;
425
				continue;
426
			}
427
			if(is_object($val)||is_array($val)) $body = $this->_getRssBody($val);
428
			if($body !== null) return $body;
429
		}
430
		return $body;
431
	}
432
433
	function _getSummary($content, $str_size = 50)
434
	{

widgets/mcontent/mcontent.class.php 1 location

@@ 361-378 (lines=18) @@
358
		} return $content_items;
359
	}
360
361
	function _getRssBody($value)
362
	{
363
		if(!$value || is_string($value)) return $value;
364
		if(is_object($value)) $value = get_object_vars($value);
365
		$body = null;
366
		if(!count($value)) return;
367
		foreach($value as $key => $val)
368
		{
369
			if($key == 'body')
370
			{
371
				$body = $val;
372
				continue;
373
			}
374
			if(is_object($val)||is_array($val)) $body = $this->_getRssBody($val);
375
			if($body !== null) return $body;
376
		}
377
		return $body;
378
	}
379
380
	function _getSummary($content, $str_size = 50)
381
	{