Skip to content

Commit

Permalink
User,指向模型,方便代码提示
Browse files Browse the repository at this point in the history
  • Loading branch information
cjango authored Jan 25, 2022
1 parent 56a1054 commit 5aa10d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

namespace Jason\Api;

use Illuminate\Foundation\Auth\User;
use Illuminate\Support\Facades\Facade;
use Modules\User\Models\User;

/**
* Class Api.
* Class Api
*
* @package Jason
* @method static string attempt(array $credentials, array $scopes = [])
* @method static string login(User $user, array $scopes = [])
* @method static int userId()
Expand Down

0 comments on commit 5aa10d6

Please sign in to comment.