Skip to content

Commit

Permalink
Lower PHP requirement and include missing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
calcinai committed Jul 17, 2020
1 parent fd2ad81 commit 5794ccd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"require": {
"league/oauth2-client": "1.*|2.*",
"php": ">=5.6.0",
"php": ">=5.5.0",
"firebase/php-jwt": "^5.0"
},
"require-dev": {
Expand Down
6 changes: 6 additions & 0 deletions src/XeroTenant.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ class XeroTenant
*/
public $id;

/**
* @var string
*/
public $authEventId;

/**
* @var string
*/
Expand Down Expand Up @@ -49,6 +54,7 @@ public static function fromArray($data)
$self = new static();

$self->id = $data['id'];
$self->authEventId = $data['authEventId'];
$self->tenantId = $data['tenantId'];
$self->tenantType = $data['tenantType'];
$self->tenantName = $data['tenantName'];
Expand Down

0 comments on commit 5794ccd

Please sign in to comment.