Skip to content

Commit

Permalink
remove from the phpxmlrpcval class the support for arrayiterator and …
Browse files Browse the repository at this point in the history
…countable, in case users were using those functionalities already
  • Loading branch information
gggeek committed Jan 20, 2016
1 parent caec526 commit b5c43f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/xmlrpc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@ class xmlrpcval extends PhpXmlRpc\Value
return $b;
}

/// reset functionality added by parent class: same as it would happen if no interface was declared
public function count()
{
return 1;
}

/// reset functionality added by parent class: same as it would happen if no interface was declared
public function getIterator() {
return new ArrayIterator($this);
}
}

class xmlrpcmsg extends PhpXmlRpc\Request
Expand Down

0 comments on commit b5c43f5

Please sign in to comment.