Completed
Push — master ( 3d0f9a...758e52 )
by Alex
03:06
created
app/Http/Controllers/Auth/AuthController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,5 +80,5 @@
 block discarded – undo
80 80
         $apiKey = ApiKey::make($user->id);
81 81
         $apiKey->save();
82 82
         return $apiKey->key;
83
-     }
83
+        }
84 84
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function __construct()
40 40
     {
41
-        $this->middleware($this->guestMiddleware(), ['except' => 'logout']);
41
+        $this->middleware($this->guestMiddleware(), [ 'except' => 'logout' ]);
42 42
     }
43 43
 
44 44
     /**
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected function create(array $data)
66 66
     {
67
-        $user =  User::create([
68
-            'name' => $data['name'],
69
-            'email' => $data['email'],
70
-            'password' => bcrypt($data['password']),
67
+        $user = User::create([
68
+            'name' => $data[ 'name' ],
69
+            'email' => $data[ 'email' ],
70
+            'password' => bcrypt($data[ 'password' ]),
71 71
         ]);
72 72
 
73 73
         $user->apiKey = $this->createUserApiKey($user);
Please login to merge, or discard this patch.