Passed
Push — dev5 ( 92f243...3534c9 )
by Ron
05:48
created
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 1 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.