Completed
Push — master ( 28bdfb...d01954 )
by Kyle
09:25 queued 11s
created
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
     protected function validator(array $data)
51 51
     {
52 52
         return Validator::make($data, [
53
-            'name'     => ['required', 'string', 'max:255'],
54
-            'email'    => ['required', 'string', 'email', 'max:255', 'unique:users'],
55
-            'password' => ['required', 'string', 'min:8', 'confirmed'],
53
+            'name'     => [ 'required', 'string', 'max:255' ],
54
+            'email'    => [ 'required', 'string', 'email', 'max:255', 'unique:users' ],
55
+            'password' => [ 'required', 'string', 'min:8', 'confirmed' ],
56 56
         ]);
57 57
     }
58 58
 
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
     protected function create(array $data)
67 67
     {
68 68
         return User::create([
69
-            'name'     => $data['name'],
70
-            'email'    => $data['email'],
71
-            'password' => Hash::make($data['password']),
69
+            'name'     => $data[ 'name' ],
70
+            'email'    => $data[ 'email' ],
71
+            'password' => Hash::make($data[ 'password' ]),
72 72
         ]);
73 73
     }
74 74
 }
Please login to merge, or discard this patch.