Skip to content

Commit

Permalink
Remove redundant dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorato committed Oct 4, 2017
1 parent 2818604 commit 30d224c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 163 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"ext-gmp": "*",
"ramsey/uuid": "^3.7",
"guzzlehttp/guzzle": "^6.3",
"spomky-labs/jose": "^6.1",
"lcobucci/jwt": "4.0.0-alpha1"
"spomky-labs/jose": "^6.1"
},
"require-dev": {
"phpspec/phpspec": "^4.0"
Expand Down
163 changes: 3 additions & 160 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function exchangeToken($jwtToken)
$userData = $this->decrypt($userData);
}

return new UserData($payload->userId, \GuzzleHttp\json_decode($userData));
return new UserData($payload->userId, \GuzzleHttp\json_decode($userData, true));
}

/**
Expand Down

0 comments on commit 30d224c

Please # to comment.