mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Spelling fixes
This commit is contained in:
		@@ -121,7 +121,7 @@ class AuthorizationServer extends AbstractServer
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Require the "scope" paremter in checkAuthoriseParams()
 | 
			
		||||
     * Require the "scope" parameter in checkAuthoriseParams()
 | 
			
		||||
     * @param  boolean $require
 | 
			
		||||
     * @return self
 | 
			
		||||
     */
 | 
			
		||||
@@ -248,7 +248,7 @@ class AuthorizationServer extends AbstractServer
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Return a grant type class
 | 
			
		||||
     * @param  string                   $grantType The grant type identifer
 | 
			
		||||
     * @param  string                   $grantType The grant type identifier
 | 
			
		||||
     * @return Grant\GrantTypeInterface
 | 
			
		||||
     * @throws
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
@@ -153,11 +153,11 @@ class SessionEntity
 | 
			
		||||
     * @param  \League\OAuth2\Server\Entity\Scope[]
 | 
			
		||||
     * @return array
 | 
			
		||||
     */
 | 
			
		||||
    private function formatScopes($unformated = [])
 | 
			
		||||
    private function formatScopes($unformatted = [])
 | 
			
		||||
    {
 | 
			
		||||
        $scopes = [];
 | 
			
		||||
        if (is_array($unformated)) {
 | 
			
		||||
            foreach ($unformated as $scope) {
 | 
			
		||||
        if (is_array($unformatted)) {
 | 
			
		||||
            foreach ($unformatted as $scope) {
 | 
			
		||||
                if ($scope instanceof ScopeEntity) {
 | 
			
		||||
                    $scopes[$scope->getId()] = $scope;
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@ abstract class AbstractGrant implements GrantTypeInterface
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Callback to authenticate a user's name and password
 | 
			
		||||
     * @var function
 | 
			
		||||
     * @var callable
 | 
			
		||||
     */
 | 
			
		||||
    protected $callback;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user