Merge branch '0.1'

This commit is contained in:
Francis Besset 2013-11-06 09:31:58 +01:00
commit bd2508f854
2 changed files with 10 additions and 10 deletions

View File

@ -14,8 +14,8 @@
namespace BeSimple\SoapClient;
use BeSimple\SoapCommon\SoapKernel as CommonSoapKernel;
use BeSimple\SoapCommon\SoapRequest;
use BeSimple\SoapCommon\SoapResponse;
use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest;
use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse;
/**
* SoapKernel for Client.
@ -27,7 +27,7 @@ class SoapKernel extends CommonSoapKernel
/**
* {@inheritDoc}
*/
public function filterRequest(SoapRequest $request)
public function filterRequest(CommonSoapRequest $request)
{
$request->setAttachments($this->attachments);
$this->attachments = array();
@ -38,10 +38,10 @@ class SoapKernel extends CommonSoapKernel
/**
* {@inheritDoc}
*/
public function filterResponse(SoapResponse $response)
public function filterResponse(CommonSoapResponse $response)
{
parent::filterResponse($response);
$this->attachments = $response->getAttachments();
}
}
}

View File

@ -14,8 +14,8 @@
namespace BeSimple\SoapServer;
use BeSimple\SoapCommon\SoapKernel as CommonSoapKernel;
use BeSimple\SoapCommon\SoapRequest;
use BeSimple\SoapCommon\SoapResponse;
use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest;
use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse;
/**
* SoapKernel for Server.
@ -27,7 +27,7 @@ class SoapKernel extends CommonSoapKernel
/**
* {@inheritDoc}
*/
public function filterRequest(SoapRequest $request)
public function filterRequest(CommonSoapRequest $request)
{
parent::filterRequest($request);
@ -37,11 +37,11 @@ class SoapKernel extends CommonSoapKernel
/**
* {@inheritDoc}
*/
public function filterResponse(SoapResponse $response)
public function filterResponse(CommonSoapResponse $response)
{
$response->setAttachments($this->attachments);
$this->attachments = array();
parent::filterResponse($response);
}
}
}