Passed
Push — dev5 ( 92f243...3534c9 )
by Ron
05:48
created
database/migrations/2014_10_12_000000_create_users_table.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             'email'        => '[email protected]',
38 38
             'password'     => bcrypt('password'),
39 39
             'active'       => 1,
40
-           'is_installer' => 1
40
+            'is_installer' => 1
41 41
         ]);
42 42
     }
43 43
 
Please login to merge, or discard this patch.
database/seeds/UserTableSeeder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@
 block discarded – undo
12 12
     public function run()
13 13
     {
14 14
         //  Create the test users - note, none are installers - permissions are assigned randomly
15
-        factory(App\User::class, 15)->create()->each(function($user)
16
-        {
15
+        factory(App\User::class, 15)->create()->each(function($user) {
17 16
             $user->UserPermissions()->save(factory(App\UserPermissions::class)->create(['user_id' => $user->user_id]));
18 17
         });
19 18
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Customers/CustomerDetailsController.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     //  Submit the new customer form
38 38
     public function store(Request $request)
39 39
     {
40
-        if (!$this->authorize('hasAccess', 'add_customer')) {
40
+        if(!$this->authorize('hasAccess', 'add_customer')) {
41 41
             return abort(403);
42 42
         }
43 43
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         Log::debug('Route '.Route::currentRouteName().' visited by User ID-'.Auth::user()->user_id);
67 67
         Log::notice('New Customer ID-'.$request->custID.' created by User ID-'.Auth::user()->user_id);
68 68
 
69
-        return response()->json(['success' => true ]);
69
+        return response()->json(['success' => true]);
70 70
     }
71 71
 
72 72
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,8 @@
 block discarded – undo
37 37
     //  Submit the new customer form
38 38
     public function store(Request $request)
39 39
     {
40
-        if (!$this->authorize('hasAccess', 'add_customer')) {
40
+        if (!$this->authorize('hasAccess', 'add_customer'))
41
+        {
41 42
             return abort(403);
42 43
         }
43 44
 
Please login to merge, or discard this patch.