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

system/libraries/Session/Session.php 2 locations

@@ 771-791 (lines=21) @@
768
	 * @param	string	$key	Session data key
769
	 * @return	mixed	Session data value or NULL if not found
770
	 */
771
	public function flashdata($key = NULL)
772
	{
773
		if (isset($key))
774
		{
775
			return (isset($_SESSION['__ci_vars'], $_SESSION['__ci_vars'][$key], $_SESSION[$key]) && ! is_int($_SESSION['__ci_vars'][$key]))
776
				? $_SESSION[$key]
777
				: NULL;
778
		}
779
780
		$flashdata = array();
781
782
		if ( ! empty($_SESSION['__ci_vars']))
783
		{
784
			foreach ($_SESSION['__ci_vars'] as $key => &$value)
785
			{
786
				is_int($value) OR $flashdata[$key] = $_SESSION[$key];
787
			}
788
		}
789
790
		return $flashdata;
791
	}
792
793
	// ------------------------------------------------------------------------
794
@@ 835-855 (lines=21) @@
832
	 * @param	string	$key	Session data key
833
	 * @return	mixed	Session data value or NULL if not found
834
	 */
835
	public function tempdata($key = NULL)
836
	{
837
		if (isset($key))
838
		{
839
			return (isset($_SESSION['__ci_vars'], $_SESSION['__ci_vars'][$key], $_SESSION[$key]) && is_int($_SESSION['__ci_vars'][$key]))
840
				? $_SESSION[$key]
841
				: NULL;
842
		}
843
844
		$tempdata = array();
845
846
		if ( ! empty($_SESSION['__ci_vars']))
847
		{
848
			foreach ($_SESSION['__ci_vars'] as $key => &$value)
849
			{
850
				is_int($value) && $tempdata[$key] = $_SESSION[$key];
851
			}
852
		}
853
854
		return $tempdata;
855
	}
856
857
	// ------------------------------------------------------------------------
858