signifly /
laravel-janitor
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Signifly\Janitor\Exceptions; |
||
| 4 | |||
| 5 | use Symfony\Component\HttpKernel\Exception\HttpException; |
||
| 6 | |||
| 7 | class InvalidClientCredentialsException extends HttpException |
||
| 8 | { |
||
| 9 | public static function withDefaultMessage(): self |
||
| 10 | { |
||
| 11 | return new static(422, trans('auth.failed')); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 12 | } |
||
| 13 | } |
||
| 14 |