Apply fixes from StyleCI (#1574)

[ci skip] [skip ci]
This commit is contained in:
Toby Zerner 2018-09-21 14:28:02 +09:30 committed by GitHub
parent ff18859f2e
commit 92e8990e55

View File

@ -12,7 +12,6 @@
namespace Flarum\Api; namespace Flarum\Api;
use Exception; use Exception;
use Flarum\Foundation\Application;
use Flarum\User\User; use Flarum\User\User;
use Illuminate\Contracts\Container\Container; use Illuminate\Contracts\Container\Container;
use InvalidArgumentException; use InvalidArgumentException;
@ -83,7 +82,7 @@ class Client
* @param ErrorHandler $errorHandler * @param ErrorHandler $errorHandler
* @return Client * @return Client
*/ */
public function setErrorHandler(?ErrorHandler $errorHandler): Client public function setErrorHandler(?ErrorHandler $errorHandler): self
{ {
$this->errorHandler = $errorHandler; $this->errorHandler = $errorHandler;