Skip to content

Commit

Permalink
Merge pull request #36 from eversign/psr-0-compatibility
Browse files Browse the repository at this point in the history
OAuthTokenRequest same class and file name fix
  • Loading branch information
archivelm authored Dec 10, 2020
2 parents 4aec9c3 + e4916b4 commit d4750f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sdk/Eversign/OAuthTokenRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use JMS\Serializer\SerializerBuilder;


class OauthTokenRequest {
class OAuthTokenRequest {

/**
* The client id of your app
Expand Down Expand Up @@ -81,7 +81,8 @@ public function __construct($obj) {
}
}

public function toArray() {
public function toArray(): array
{
return array(
'client_id' => $this->client_id,
'client_secret' => $this->client_secret,
Expand Down

0 comments on commit d4750f3

Please sign in to comment.