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

src/HSAL/Driver/Handlersocketi.php 1 location

@@ 78-88 (lines=11) @@
75
76
		$result = $idx->find([$operator => $condition], ['limit' => $limit, 'offset' => $offset]);
77
78
		if (!empty($result) && is_array($result))
79
		{
80
			foreach ($result as $key => $arr) 
81
			{
82
				$result[$key] = array_combine($fields, $arr);
83
			}
84
85
			return $result;
86
		}
87
		else
88
			return FALSE;
89
	}
90
91
	public function delete($table, $index, Array $condition, $operator)

src/HSAL/Driver/HSPHP.php 1 location

@@ 75-85 (lines=11) @@
72
73
		$result = $hs->readResponse();
74
75
		if (!empty($result))
76
		{
77
			foreach ($result as $key => $arr) 
78
			{
79
				$result[$key] = array_combine($fields, $arr);
80
			}
81
82
			return $result;
83
		}
84
		else
85
			return FALSE;
86
	}
87
88
	public function delete($table, $index, Array $condition, $operator)