Skip to content

Commit eee3da9

Browse files
committed
pint fixes
1 parent cc1024d commit eee3da9

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

app/Http/Controllers/Auth/NewPasswordController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function create(Request $request): Response
3030
/**
3131
* Handle an incoming new password request.
3232
*
33-
* @throws \Illuminate\Validation\ValidationException
33+
* @throws ValidationException
3434
*/
3535
public function store(Request $request): RedirectResponse
3636
{

app/Http/Controllers/Auth/PasswordResetLinkController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function create(): Response
2525
/**
2626
* Handle an incoming password reset link request.
2727
*
28-
* @throws \Illuminate\Validation\ValidationException
28+
* @throws ValidationException
2929
*/
3030
public function store(Request $request): RedirectResponse
3131
{

app/Http/Controllers/ProfileController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace App\Http\Controllers;
44

55
use App\Http\Requests\ProfileUpdateRequest;
6-
use App\Models\User;
76
use Illuminate\Contracts\Auth\MustVerifyEmail;
87
use Illuminate\Http\RedirectResponse;
98
use Illuminate\Http\Request;

app/Http/Requests/Auth/LoginRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function rules(): array
3535
/**
3636
* Attempt to authenticate the request's credentials.
3737
*
38-
* @throws \Illuminate\Validation\ValidationException
38+
* @throws ValidationException
3939
*/
4040
public function authenticate(): void
4141
{
@@ -55,7 +55,7 @@ public function authenticate(): void
5555
/**
5656
* Ensure the login request is not rate limited.
5757
*
58-
* @throws \Illuminate\Validation\ValidationException
58+
* @throws ValidationException
5959
*/
6060
public function ensureIsNotRateLimited(): void
6161
{

bootstrap/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
)
1313
->withMiddleware(function (Middleware $middleware) {
1414
$middleware->web(append: [
15-
\App\Http\Middleware\HandleInertiaRequests::class,
16-
\Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets::class,
15+
App\Http\Middleware\HandleInertiaRequests::class,
16+
Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets::class,
1717
]);
1818

1919
//

pint.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"method_chaining_indentation": true,
88
"no_trailing_comma_in_singleline_function_call": true,
99
"no_trailing_comma_in_singleline": true,
10+
"no_unused_imports": true,
1011
"no_whitespace_before_comma_in_array": true,
12+
"single_import_per_statement": true,
1113
"whitespace_after_comma_in_array": true,
1214
"trailing_comma_in_multiline": false
1315
}

0 commit comments

Comments
 (0)