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 5f36540 commit 9f367f8Copy full SHA for 9f367f8
src/Introspect.php
@@ -48,10 +48,10 @@ public function mustHaveScopes(array $requiredScopes = [])
48
{
49
$result = $this->getIntrospectionResult();
50
$givenScopes = explode(' ', $result['scope']);
51
- $misingScopes = array_diff($requiredScopes, $givenScopes);
+ $missingScopes = array_diff($requiredScopes, $givenScopes);
52
53
- if (count($misingScopes) > 0) {
54
- throw new MissingScopeException($misingScopes);
+ if (count($missingScopes) > 0) {
+ throw new MissingScopeException($missingScopes);
55
}
56
57
0 commit comments