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

system/libraries/Cart.php 2 locations

@@ 132-136 (lines=5) @@
129
	public function insert($items = array())
130
	{
131
		// Was any cart data passed? No? Bah...
132
		if ( ! is_array($items) OR count($items) === 0)
133
		{
134
			log_message('error', 'The insert method must be passed an array containing data.');
135
			return FALSE;
136
		}
137
138
		// You can either insert a single product using a one-dimensional array,
139
		// or multiple products using a multi-dimensional one. The way we
@@ 186-190 (lines=5) @@
183
	protected function _insert($items = array())
184
	{
185
		// Was any cart data passed? No? Bah...
186
		if ( ! is_array($items) OR count($items) === 0)
187
		{
188
			log_message('error', 'The insert method must be passed an array containing data.');
189
			return FALSE;
190
		}
191
192
		// --------------------------------------------------------------------
193