We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b35311 commit a54c223Copy full SHA for a54c223
lib/Github/HttpClient/Plugin/GithubExceptionThrower.php
@@ -64,7 +64,7 @@ public function doHandleRequest(RequestInterface $request, callable $next, calla
64
$code = $error['code'];
65
}
66
67
- switch ($code) {
+ switch ($error['code'] ?? null) {
68
case 'missing':
69
$errors[] = sprintf('The %s %s does not exist, for resource "%s"', $error['field'], $error['value'], $error['resource']);
70
break;
0 commit comments