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;
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,7 +38,7 @@ class SoapKernel extends CommonSoapKernel
/**
* {@inheritDoc}
*/
public function filterResponse(SoapResponse $response)
public function filterResponse(CommonSoapResponse $response)
{
parent::filterResponse($response);

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,7 +37,7 @@ class SoapKernel extends CommonSoapKernel
/**
* {@inheritDoc}
*/
public function filterResponse(SoapResponse $response)
public function filterResponse(CommonSoapResponse $response)
{
$response->setAttachments($this->attachments);
$this->attachments = array();