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

component/admin/vendor/joomla/registry/src/Registry.php 2 locations

@@ 170-186 (lines=17) @@
167
		$found = false;
168
169
		// Traverse the registry to find the correct node for the result.
170
		foreach ($nodes as $n)
171
		{
172
			if (is_array($node) && isset($node[$n]))
173
			{
174
				$node = $node[$n];
175
				$found = true;
176
				continue;
177
			}
178
179
			if (!isset($node->$n))
180
			{
181
				return false;
182
			}
183
184
			$node = $node->$n;
185
			$found = true;
186
		}
187
188
		return $found;
189
	}
@@ 222-239 (lines=18) @@
219
		$found = false;
220
221
		// Traverse the registry to find the correct node for the result.
222
		foreach ($nodes as $n)
223
		{
224
			if (is_array($node) && isset($node[$n]))
225
			{
226
				$node = $node[$n];
227
				$found = true;
228
229
				continue;
230
			}
231
232
			if (!isset($node->$n))
233
			{
234
				return $default;
235
			}
236
237
			$node = $node->$n;
238
			$found = true;
239
		}
240
241
		if (!$found || $node === null || $node === '')
242
		{