Skip to content

Commit

Permalink
more generics
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmastech committed Nov 14, 2024
1 parent f91efe5 commit 7f945b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sanctum.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static function actingAs($user, $abilities = [], $guard = 'sanctum')
/**
* Set the personal access token model name.
*
* @param string $model
* @param class-string<\Illuminate\Database\Eloquent\Model> $model
* @return void
*/
public static function usePersonalAccessTokenModel($model)
Expand Down Expand Up @@ -108,7 +108,7 @@ public static function authenticateAccessTokensUsing(callable $callback)
/**
* Get the token model class name.
*
* @return string
* @return class-string<\Illuminate\Database\Eloquent\Model>
*/
public static function personalAccessTokenModel()
{
Expand Down

0 comments on commit 7f945b1

Please sign in to comment.