mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Spelling fix
This commit is contained in:
parent
de681b1ebf
commit
2d90540531
@ -173,13 +173,13 @@ abstract class AbstractToken
|
||||
|
||||
/**
|
||||
* Format the local scopes array
|
||||
* @param array $unformated Array of \League\OAuth2\Server\Entity\Scope
|
||||
* @param array $unformatted Array of \League\OAuth2\Server\Entity\Scope
|
||||
* @return array
|
||||
*/
|
||||
protected function formatScopes($unformated = [])
|
||||
protected function formatScopes($unformatted = [])
|
||||
{
|
||||
$scopes = [];
|
||||
foreach ($unformated as $scope) {
|
||||
foreach ($unformatted as $scope) {
|
||||
if ($scope instanceof Scope) {
|
||||
$scopes[$scope->getId()] = $scope;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user