mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +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