Skip to content

Commit

Permalink
Merge pull request #924 from gurubobnz/patch-2
Browse files Browse the repository at this point in the history
Update Response.php
  • Loading branch information
calcinai authored Jul 19, 2024
2 parents 7a6a6a2 + e18577c commit 9a535cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/XeroPHP/Remote/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,9 @@ public function parseXML()
case 'PageInfo':
// TODO: We can potentially handle the page info and make it a value on the response object
break;
case 'pagination':
// introduced in https://github.com/XeroAPI/xero-node/releases/tag/9.0.0 but not supported here yet
break;
case 'ErrorNumber':
$this->root_error['code'] = (string)$root_child;

Expand Down Expand Up @@ -367,6 +370,9 @@ public function parseJSON()
case 'PageInfo':
// TODO: We can potentially handle the page info and make it a value on the response object
break;
case 'pagination':
// introduced in https://github.com/XeroAPI/xero-node/releases/tag/9.0.0 but not supported here yet
break;
case 'ErrorNumber':
$this->root_error['code'] = $root_child;

Expand Down

0 comments on commit 9a535cc

Please sign in to comment.