@@ -60,7 +60,7 @@ |
||
| 60 | 60 | 'engine' => 'InnoDB', |
| 61 | 61 | 'options' => extension_loaded('pdo_mysql') ? array_filter([ |
| 62 | 62 | PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), |
| 63 | - ]) : [], |
|
| 63 | + ]) : [ ], |
|
| 64 | 64 | ], |
| 65 | 65 | |
| 66 | 66 | 'pgsql' => [ |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | 'channels' => [ |
| 38 | 38 | 'stack' => [ |
| 39 | 39 | 'driver' => 'stack', |
| 40 | - 'channels' => ['errorlog'], |
|
| 40 | + 'channels' => [ 'errorlog' ], |
|
| 41 | 41 | 'ignore_exceptions' => false, |
| 42 | 42 | ], |
| 43 | 43 | |
@@ -150,6 +150,6 @@ |
||
| 150 | 150 | | |
| 151 | 151 | */ |
| 152 | 152 | |
| 153 | - 'attributes' => [], |
|
| 153 | + 'attributes' => [ ], |
|
| 154 | 154 | |
| 155 | 155 | ]; |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | Button::create('Give me a fancy quote')->value('quote'), |
| 37 | 37 | ]); |
| 38 | 38 | |
| 39 | - return $this->ask($question, function (Answer $answer) { |
|
| 39 | + return $this->ask($question, function(Answer $answer) { |
|
| 40 | 40 | if (!$answer->isInteractiveMessageReply()) { |
| 41 | 41 | return; |
| 42 | 42 | } |
@@ -127,5 +127,5 @@ |
||
| 127 | 127 | 'rule-name' => 'custom-message', |
| 128 | 128 | ], |
| 129 | 129 | ], |
| 130 | - 'attributes' => [], |
|
| 130 | + 'attributes' => [ ], |
|
| 131 | 131 | ]; |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | */ |
| 22 | 22 | public function create(Request $request) |
| 23 | 23 | { |
| 24 | - return view('auth.reset-password', ['request' => $request]); |
|
| 24 | + return view('auth.reset-password', [ 'request' => $request ]); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | $request->validate([ |
| 38 | 38 | 'token' => 'required', |
| 39 | 39 | 'email' => 'required|email', |
| 40 | - 'password' => ['required', 'confirmed', Rules\Password::defaults()], |
|
| 40 | + 'password' => [ 'required', 'confirmed', Rules\Password::defaults() ], |
|
| 41 | 41 | ]); |
| 42 | 42 | |
| 43 | 43 | // Here we will attempt to reset the user's password. If it is successful we |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | // database. Otherwise we will parse the error and return the response. |
| 46 | 46 | $status = Password::reset( |
| 47 | 47 | $request->only('email', 'password', 'password_confirmation', 'token'), |
| 48 | - function ($user) use ($request) { |
|
| 48 | + function($user) use ($request) { |
|
| 49 | 49 | $user->forceFill([ |
| 50 | 50 | 'password' => Hash::make($request->password), |
| 51 | 51 | 'remember_token' => Str::random(60), |
@@ -61,6 +61,6 @@ discard block |
||
| 61 | 61 | return $status == Password::PASSWORD_RESET |
| 62 | 62 | ? redirect()->route('login')->with('status', __($status)) |
| 63 | 63 | : back()->withInput($request->only('email')) |
| 64 | - ->withErrors(['email' => __($status)]); |
|
| 64 | + ->withErrors([ 'email' => __($status) ]); |
|
| 65 | 65 | } |
| 66 | 66 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function store(Request $request) |
| 30 | 30 | { |
| 31 | - if (! Auth::guard('web')->validate([ |
|
| 31 | + if (!Auth::guard('web')->validate([ |
|
| 32 | 32 | 'email' => $request->user()->email, |
| 33 | 33 | 'password' => $request->password, |
| 34 | 34 | ])) { |
@@ -42,6 +42,6 @@ |
||
| 42 | 42 | return $status == Password::RESET_LINK_SENT |
| 43 | 43 | ? back()->with('status', __($status)) |
| 44 | 44 | : back()->withInput($request->only('email')) |
| 45 | - ->withErrors(['email' => __($status)]); |
|
| 45 | + ->withErrors([ 'email' => __($status) ]); |
|
| 46 | 46 | } |
| 47 | 47 | } |
@@ -127,5 +127,5 @@ |
||
| 127 | 127 | 'rule-name' => 'custom-message', |
| 128 | 128 | ], |
| 129 | 129 | ], |
| 130 | - 'attributes' => [], |
|
| 130 | + 'attributes' => [ ], |
|
| 131 | 131 | ]; |