File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,9 @@ public function parseXML()
317317 /** @var SimpleXMLElement $root_child */
318318 foreach ($ sxml as $ child_index => $ root_child ) {
319319 switch ($ child_index ) {
320+ case 'PageInfo ' :
321+ // TODO: We can potentially handle the page info and make it a value on the response object
322+ break ;
320323 case 'ErrorNumber ' :
321324 $ this ->root_error ['code ' ] = (string )$ root_child ;
322325
@@ -361,6 +364,9 @@ public function parseJSON()
361364
362365 foreach ($ json as $ child_index => $ root_child ) {
363366 switch ($ child_index ) {
367+ case 'PageInfo ' :
368+ // TODO: We can potentially handle the page info and make it a value on the response object
369+ break ;
364370 case 'ErrorNumber ' :
365371 $ this ->root_error ['code ' ] = $ root_child ;
366372
You can’t perform that action at this time.
0 commit comments