Spelling fixes

This commit is contained in:
Alex Bilbie 2014-11-20 23:53:14 +00:00
parent f83e5a8731
commit bed6c3287e
3 changed files with 6 additions and 6 deletions

View File

@ -121,7 +121,7 @@ class AuthorizationServer extends AbstractServer
} }
/** /**
* Require the "scope" paremter in checkAuthoriseParams() * Require the "scope" parameter in checkAuthoriseParams()
* @param boolean $require * @param boolean $require
* @return self * @return self
*/ */
@ -248,7 +248,7 @@ class AuthorizationServer extends AbstractServer
/** /**
* Return a grant type class * Return a grant type class
* @param string $grantType The grant type identifer * @param string $grantType The grant type identifier
* @return Grant\GrantTypeInterface * @return Grant\GrantTypeInterface
* @throws * @throws
*/ */

View File

@ -153,11 +153,11 @@ class SessionEntity
* @param \League\OAuth2\Server\Entity\Scope[] * @param \League\OAuth2\Server\Entity\Scope[]
* @return array * @return array
*/ */
private function formatScopes($unformated = []) private function formatScopes($unformatted = [])
{ {
$scopes = []; $scopes = [];
if (is_array($unformated)) { if (is_array($unformatted)) {
foreach ($unformated as $scope) { foreach ($unformatted as $scope) {
if ($scope instanceof ScopeEntity) { if ($scope instanceof ScopeEntity) {
$scopes[$scope->getId()] = $scope; $scopes[$scope->getId()] = $scope;
} }

View File

@ -35,7 +35,7 @@ abstract class AbstractGrant implements GrantTypeInterface
/** /**
* Callback to authenticate a user's name and password * Callback to authenticate a user's name and password
* @var function * @var callable
*/ */
protected $callback; protected $callback;