Fixed commands

This commit is contained in:
Graham Campbell
2015-12-06 11:32:30 +00:00
parent f3d2b5ba9c
commit 5fd3abcbd0
7 changed files with 14 additions and 10 deletions
@@ -11,6 +11,8 @@
namespace CachetHQ\Cachet\Commands\User;
use CachetHQ\Cachet\Models\User;
final class GenerateApiTokenCommand
{
/**
@@ -27,7 +29,7 @@ final class GenerateApiTokenCommand
*
* @return void
*/
public function __construct($user)
public function __construct(User $user)
{
$this->user = $user;
}