mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
parent
ff18859f2e
commit
92e8990e55
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user