File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55use App \Http \Controllers \Controller ;
66use App \Http \Requests \LoginRequest ;
7+ use Illuminate \Http \RedirectResponse ;
78use Illuminate \Http \Request ;
89use Illuminate \Support \Carbon ;
10+ use Illuminate \Validation \ValidationException ;
911
1012class 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 {
Original file line number Diff line number Diff line change 22
33namespace App \Http \Requests ;
44
5+ use Illuminate \Contracts \Validation \ValidationRule ;
56use Illuminate \Foundation \Http \FormRequest ;
67
78class 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 {
You can’t perform that action at this time.
0 commit comments