Skip to content

Commit

Permalink
Merge pull request zendframework#4857 from dimadietto/master
Browse files Browse the repository at this point in the history
`fault` property must be an instance of \Zend\XmlRpc\Fault
  • Loading branch information
weierophinney committed Jul 22, 2013
2 parents 080c7b9 + 0974766 commit 2b3c329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zend/XmlRpc/Request/Stdin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 2b3c329

Please sign in to comment.