Skip to content

Commit

Permalink
Update Response.php
Browse files Browse the repository at this point in the history
Ignore pagination element in response.
  • Loading branch information
gurubobnz authored Jul 18, 2024
1 parent 7a6a6a2 commit e18577c
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 e18577c

Please sign in to comment.