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

@@ -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;
}