Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch '#ZF2-151' of github.com:robertboloc/zf2 into #ZF2-151
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/AutoDiscover.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Zend\Server\Reflection;
use Zend\Server\Reflection\AbstractFunction;
use Zend\Server\Reflection\Prototype;
use Zend\Server\Reflection\ReflectionParameter;
use Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface as DiscoveryStrategy;
use Zend\Soap\AutoDiscover\DiscoveryStrategy\ReflectionDiscovery;
use Zend\Soap\Wsdl;
Expand Down Expand Up @@ -191,7 +190,7 @@ public function getServiceName()
->getShortName();
} else {
throw new Exception\RuntimeException(
"No service name given. Call Autodiscover#setServiceName()."
"No service name given. Call Autodiscover::setServiceName()."
);
}
}
Expand Down Expand Up @@ -228,7 +227,7 @@ public function setUri($uri)
public function getUri()
{
if ($this->uri === null) {
throw new Exception\RuntimeException("Missing uri. You have to explicitly configure the Endpoint Uri by calling AutoDiscover#setUri().");
throw new Exception\RuntimeException("Missing uri. You have to explicitly configure the Endpoint Uri by calling AutoDiscover::setUri().");
}
if (is_string($this->uri)) {
$this->uri = Uri\UriFactory::factory($this->uri);
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ public function setUserAgent($userAgent)
if ($userAgent === null) {
$this->user_agent = null;
} else {
$this->user_agent = (string)$userAgent;
$this->user_agent = (string) $userAgent;
}
return $this;
}
Expand Down
1 change: 0 additions & 1 deletion src/Server/DocumentLiteralWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace Zend\Soap\Server;

use ReflectionClass;
use ReflectionObject;
use Zend\Soap\Exception\BadMethodCallException;
use Zend\Soap\Exception\UnexpectedValueException;
Expand Down
1 change: 0 additions & 1 deletion test/AutoDiscoverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
require_once 'TestAsset/commontypes.php';

use Zend\Soap\AutoDiscover;
use Zend\Soap\AutoDiscoverException;

/** PHPUnit Test Case */

Expand Down
1 change: 0 additions & 1 deletion test/ServerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
require_once __DIR__ . '/TestAsset/commontypes.php';

use Zend\Soap\Server;
use Zend\Soap\ServerException;

/**
* Zend_Soap_Server
Expand Down

0 comments on commit c281e33

Please sign in to comment.