]> BookStack Code Mirror - bookstack/commitdiff
Applied styleci changes
authorDan Brown <redacted>
Fri, 5 Nov 2021 00:28:41 +0000 (00:28 +0000)
committerDan Brown <redacted>
Fri, 5 Nov 2021 00:28:41 +0000 (00:28 +0000)
app/Api/ApiDocsGenerator.php
app/Http/Controllers/Auth/ForgotPasswordController.php

index 3aabfb4cc9fd5eb37770f7c6994f104f508dc97d..ea77ae45084cd91b8a3db1d13f546372629ce77b 100644 (file)
@@ -95,6 +95,7 @@ class ApiDocsGenerator
         }
 
         $rules = $class->getValdationRules()[$methodName] ?? [];
+
         return empty($rules) ? null : $rules;
     }
 
index 212bb6ab18c3aee5a460053784bdc9fb2d8f94c8..5e73b232ca734f6a4a5126d1b059a067ee314569 100644 (file)
@@ -44,7 +44,7 @@ class ForgotPasswordController extends Controller
     public function sendResetLinkEmail(Request $request)
     {
         $this->validate($request, [
-            'email' => ['required', 'email']
+            'email' => ['required', 'email'],
         ]);
 
         // We will send the password reset link to this user. Once we have attempted