chore: lint fix
This commit is contained in:
parent
62c0046f81
commit
d2ebafb237
2 changed files with 5 additions and 3 deletions
|
@ -87,7 +87,8 @@ abstract class OAuth
|
||||||
*
|
*
|
||||||
* @return json
|
* @return json
|
||||||
*/
|
*/
|
||||||
public function parseState(string $state) {
|
public function parseState(string $state)
|
||||||
|
{
|
||||||
return json_decode($state, true);
|
return json_decode($state, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,8 @@ class Amazon extends OAuth
|
||||||
*
|
*
|
||||||
* @return json
|
* @return json
|
||||||
*/
|
*/
|
||||||
public function parseState(string $state) {
|
public function parseState(string $state)
|
||||||
|
{
|
||||||
return json_decode(html_entity_decode($state), true);
|
return json_decode(html_entity_decode($state), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue