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

system/core/Loader.php 2 locations

@@ 192-211 (lines=20) @@
189
	 */
190
	public function library($library, $params = NULL, $object_name = NULL)
191
	{
192
		if (empty($library))
193
		{
194
			return $this;
195
		}
196
		elseif (is_array($library))
197
		{
198
			foreach ($library as $key => $value)
199
			{
200
				if (is_int($key))
201
				{
202
					$this->library($value, $params);
203
				}
204
				else
205
				{
206
					$this->library($key, $params, $value);
207
				}
208
			}
209
210
			return $this;
211
		}
212
213
		if ($params !== NULL && ! is_array($params))
214
		{
@@ 236-248 (lines=13) @@
233
	 */
234
	public function model($model, $name = '', $db_conn = FALSE)
235
	{
236
		if (empty($model))
237
		{
238
			return $this;
239
		}
240
		elseif (is_array($model))
241
		{
242
			foreach ($model as $key => $value)
243
			{
244
				is_int($key) ? $this->model($value, '', $db_conn) : $this->model($key, $value, $db_conn);
245
			}
246
247
			return $this;
248
		}
249
250
		$path = '';
251