mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
parent
ff18859f2e
commit
92e8990e55
|
@ -12,7 +12,6 @@
|
|||
namespace Flarum\Api;
|
||||
|
||||
use Exception;
|
||||
use Flarum\Foundation\Application;
|
||||
use Flarum\User\User;
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
use InvalidArgumentException;
|
||||
|
@ -83,7 +82,7 @@ class Client
|
|||
* @param ErrorHandler $errorHandler
|
||||
* @return Client
|
||||
*/
|
||||
public function setErrorHandler(?ErrorHandler $errorHandler): Client
|
||||
public function setErrorHandler(?ErrorHandler $errorHandler): self
|
||||
{
|
||||
$this->errorHandler = $errorHandler;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user