Fixed ambiguous namespaces usage

This commit is contained in:
Francis Besset 2013-11-06 09:29:06 +01:00
parent ad82f752f7
commit e9429a5d03
2 changed files with 10 additions and 10 deletions

View File

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

View File

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