Skip to content

Commit 77b05ef

Browse files
simonhampclaude
andcommitted
Fix Pint formatting in AuthController and LoginRequest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fd45f7d commit 77b05ef

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

app/Http/Controllers/Account/AuthController.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
use App\Http\Controllers\Controller;
66
use App\Http\Requests\LoginRequest;
7+
use Illuminate\Http\RedirectResponse;
78
use Illuminate\Http\Request;
89
use Illuminate\Support\Carbon;
10+
use Illuminate\Validation\ValidationException;
911

1012
class AuthController extends Controller
1113
{
@@ -27,9 +29,9 @@ public function logout()
2729
*
2830
* @TODO Implement additional brute-force protection with custom blocked IPs model.
2931
*
30-
* @return \Illuminate\Http\RedirectResponse
32+
* @return RedirectResponse
3133
*
32-
* @throws \Illuminate\Validation\ValidationException
34+
* @throws ValidationException
3335
*/
3436
public function processLogin(LoginRequest $request)
3537
{

app/Http/Requests/LoginRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace App\Http\Requests;
44

5+
use Illuminate\Contracts\Validation\ValidationRule;
56
use Illuminate\Foundation\Http\FormRequest;
67

78
class LoginRequest extends FormRequest
@@ -17,7 +18,7 @@ public function authorize(): bool
1718
/**
1819
* Get the validation rules that apply to the request.
1920
*
20-
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
21+
* @return array<string, ValidationRule|array<mixed>|string>
2122
*/
2223
public function rules(): array
2324
{

0 commit comments

Comments
 (0)