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

lib/JWX/JWK/TypedJWK.php 1 location

@@ 545-551 (lines=7) @@
542
	 * @throws \UnexpectedValueException
543
	 * @return JWKParameter
544
	 */
545
	private static function _checkType(JWKParameter $param, $cls) {
546
		if (!$param instanceof $cls) {
547
			throw new \UnexpectedValueException(
548
				"$cls expected, got " . get_class($param));
549
		}
550
		return $param;
551
	}
552
}
553

lib/JWX/JWT/Header/TypedHeader.php 1 location

@@ 437-443 (lines=7) @@
434
	 * @throws \UnexpectedValueException
435
	 * @return JWTParameter
436
	 */
437
	private static function _checkType(JWTParameter $param, $cls) {
438
		if (!$param instanceof $cls) {
439
			throw new \UnexpectedValueException(
440
				"$cls expected, got " . get_class($param));
441
		}
442
		return $param;
443
	}
444
}
445