diff --git a/src/League/OAuth2/Server/Grant/RefreshToken.php b/src/League/OAuth2/Server/Grant/RefreshToken.php index 6142f3f2..78e95269 100644 --- a/src/League/OAuth2/Server/Grant/RefreshToken.php +++ b/src/League/OAuth2/Server/Grant/RefreshToken.php @@ -186,7 +186,7 @@ class RefreshToken implements GrantTypeInterface { } // Check that there aren't any new scopes being included - $existingScopes = []; + $existingScopes = array(); foreach ($scopes as $s) { $existingScopes[] = $s['scope']; }