Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

`fault` property must be an instance of \Zend\XmlRpc\Fault #4857

Closed
wants to merge 1 commit into from

2 participants

@freax

According to \Zend\XmlRpc\Request specification:

@var \Zend\XmlRpc\Fault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 library/Zend/XmlRpc/Request/Stdin.php
View
4 library/Zend/XmlRpc/Request/Stdin.php
@@ -10,7 +10,7 @@
namespace Zend\XmlRpc\Request;
use Zend\XmlRpc\Request as XmlRpcRequest;
-use Zend\XmlRpc\Server\Exception as ServerException;
+use Zend\XmlRpc\Fault;
/**
* XmlRpc Request object -- Request via STDIN
@@ -39,7 +39,7 @@ public function __construct()
{
$fh = fopen('php://stdin', 'r');
if (!$fh) {
- $this->fault = new ServerException(630);
+ $this->fault = new Fault(630);
return;
}
Something went wrong with that request. Please try again.