mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 04:05:57 +00:00
Applied styleci changes
This commit is contained in:
parent
06b5009842
commit
d0aa10a8c3
@ -95,6 +95,7 @@ class ApiDocsGenerator
|
|||||||
}
|
}
|
||||||
|
|
||||||
$rules = $class->getValdationRules()[$methodName] ?? [];
|
$rules = $class->getValdationRules()[$methodName] ?? [];
|
||||||
|
|
||||||
return empty($rules) ? null : $rules;
|
return empty($rules) ? null : $rules;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ class ForgotPasswordController extends Controller
|
|||||||
public function sendResetLinkEmail(Request $request)
|
public function sendResetLinkEmail(Request $request)
|
||||||
{
|
{
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'email' => ['required', 'email']
|
'email' => ['required', 'email'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// We will send the password reset link to this user. Once we have attempted
|
// We will send the password reset link to this user. Once we have attempted
|
||||||
|
Loading…
Reference in New Issue
Block a user