diff options
Diffstat (limited to 'inc/Remote/XmlRpcServer.php')
-rw-r--r-- | inc/Remote/XmlRpcServer.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/Remote/XmlRpcServer.php b/inc/Remote/XmlRpcServer.php index b213cb9d7..e41b5d791 100644 --- a/inc/Remote/XmlRpcServer.php +++ b/inc/Remote/XmlRpcServer.php @@ -17,11 +17,11 @@ class XmlRpcServer extends Server /** * Constructor. Register methods and run Server */ - public function __construct($wait=false) + public function __construct($wait = false) { $this->remote = new Api(); - $this->remote->setDateTransformation(array($this, 'toDate')); - $this->remote->setFileTransformation(array($this, 'toFile')); + $this->remote->setDateTransformation([$this, 'toDate']); + $this->remote->setFileTransformation([$this, 'toFile']); parent::__construct(false, false, $wait); } @@ -51,7 +51,7 @@ class XmlRpcServer extends Server /** * @inheritdoc */ - public function call($methodname, $args) + protected function call($methodname, $args) { try { $result = $this->remote->call($methodname, $args); |