Fix forgot password action

This commit is contained in:
Toby Zerner 2015-07-17 14:48:06 +09:30
parent a9ded36b57
commit 6fa4d25a5b

View File

@ -1,8 +1,8 @@
<?php namespace Flarum\Api\Actions;
use Flarum\Api\Request;
use Flarum\Core\Repositories\UserRepositoryInterface;
use Flarum\Core\Commands\RequestPasswordReset;
use Flarum\Core\Users\UserRepository;
use Flarum\Core\Users\Commands\RequestPasswordReset;
use Illuminate\Contracts\Bus\Dispatcher;
use Zend\Diactoros\Response\EmptyResponse;
@ -12,7 +12,7 @@ class ForgotAction extends JsonApiAction
protected $bus;
public function __construct(UserRepositoryInterface $users, Dispatcher $bus)
public function __construct(UserRepository $users, Dispatcher $bus)
{
$this->users = $users;
$this->bus = $bus;