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

component/admin/vendor/joomla/github/src/Package/Orgs/Hooks.php 2 locations

@@ 88-91 (lines=4) @@
85
		// Build the request path.
86
		$path = "/orgs/$org/hooks";
87
88
		if (false == in_array($contentType, array('form', 'json')))
89
		{
90
			throw new \UnexpectedValueException('Content type must be either "form" or "json".');
91
		}
92
93
		$config = array(
94
			'url'          => $url,
@@ 160-163 (lines=4) @@
157
158
		if ($contentType)
159
		{
160
			if (false == in_array($contentType, array('form', 'json')))
161
			{
162
				throw new \UnexpectedValueException('Content type must be either "form" or "json".');
163
			}
164
165
			$config['content_type'] = $contentType;
166
		}