1
0
Fork 0
mirror of synced 2024-07-01 12:40:34 +12:00

chore: lint fix

This commit is contained in:
Christy Jacob 2019-10-06 18:28:01 +05:30
parent 62c0046f81
commit d2ebafb237
2 changed files with 5 additions and 3 deletions

View file

@ -87,7 +87,8 @@ abstract class OAuth
*
* @return json
*/
public function parseState(string $state) {
public function parseState(string $state)
{
return json_decode($state, true);
}

View file

@ -28,7 +28,8 @@ class Amazon extends OAuth
*
* @return json
*/
public function parseState(string $state) {
public function parseState(string $state)
{
return json_decode(html_entity_decode($state), true);
}