Skip to content

Commit e021df0

Browse files
committed
return array instead of object
1 parent b44d915 commit e021df0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TokenGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function addIdTokenToResponse($response, $clientId, $subject, $nonce, $pr
141141
}
142142

143143
public function getCodeInfo($code) {
144-
return json_decode($this->decrypt($code));
144+
return json_decode($this->decrypt($code), true);
145145
}
146146
///////////////////////////// HELPER FUNCTIONS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\
147147

0 commit comments

Comments
 (0)