Completed
Push — master ( c0d96b...f1fd23 )
by Maxime
07:29
created
src/Distilleries/Expendable/Http/Controllers/Admin/LoginController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     {
31 31
         parent::__construct($layoutManager);
32 32
 
33
-        $this->auth      = $auth;
33
+        $this->auth = $auth;
34 34
 
35 35
     }
36 36
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function getLoginRedirect()
42 42
     {
43
-        return redirect()->action('\\' . self::class . '@getIndex');
43
+        return redirect()->action('\\'.self::class.'@getIndex');
44 44
     }
45 45
 
46 46
     public function getIndex()
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
         }
204 204
 
205 205
         $response = $this->broker()->reset(
206
-            $this->credentials($request), function ($user, $password) {
206
+            $this->credentials($request), function($user, $password) {
207 207
             $this->resetPassword($user, $password);
208 208
         });
209 209
 
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         // the application's home authenticated view. If there is an error we can
212 212
         // redirect them back to where they came from with their error message.
213 213
         return $response == Password::PASSWORD_RESET
214
-            ? redirect()->to(action('\\' . get_class($this) . '@getIndex'))
214
+            ? redirect()->to(action('\\'.get_class($this).'@getIndex'))
215 215
             : redirect()->back()->with('error', trans($response));
216 216
 
217 217
     }
Please login to merge, or discard this patch.