Skip to content

Commit a90ac34

Browse files
committed
Fixed typecasting to object at another place
1 parent c51b80a commit a90ac34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LucaDegasperi/OAuth2Server/Repositories/FluentSession.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ public function getAuthCodeScopes($oauthSessionAuthCodeId)
453453

454454
foreach($scopesResults as $key=>$scope)
455455
{
456+
$scope = (object) $scope;
456457
$scopes[$key] = get_object_vars($scope);
457458

458459
}

0 commit comments

Comments
 (0)