Test Setup Failed
Branch development (15f25b)
by Glenn
09:15 queued 04:31
created
app/Http/Controllers/StaffController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $mailbox = env('MAIL_USERNAME');
59 59
         $mail_password = $request->get('password');
60 60
         \Session::flash('message', "New employee has been added to the application");
61
-        \Mail::send('emails.new_user', ['user' => $user, 'password' => $mail_password], function ($m) use ($user, $mailbox) {
61
+        \Mail::send('emails.new_user', ['user' => $user, 'password' => $mail_password], function($m) use ($user, $mailbox) {
62 62
                   $m->from($mailbox);
63 63
                   $m->to($user->email)->subject('Your user credentials!');
64 64
       });
@@ -101,11 +101,11 @@  discard block
 block discarded – undo
101 101
         foreach ($request->get('permissions') as $permission) {
102 102
             $role->givePermissionTo($permission);
103 103
         }
104
-        if($assign_role)
104
+        if ($assign_role)
105 105
         {
106 106
         \Session::flash('message', 'New user role has been created');
107 107
         return redirect('staff/policies');
108
-      }else {
108
+      } else {
109 109
         return "Mislukt";
110 110
       }
111 111
     }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function map(Router $router)
39 39
     {
40
-        $router->group(['namespace' => $this->namespace], function ($router) {
40
+        $router->group(['namespace' => $this->namespace], function($router) {
41 41
             require app_path('Http/routes.php');
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
app/Http/Controllers/SickController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             $mailbox = env('MAIL_USERNAME');
70 70
 
71 71
             \Session::flash('message', "Information has been saved to the database");
72
-            \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) {
72
+            \Mail::send('emails.new_sick', ['data' => $data], function($m) use ($mailbox, $subject) {
73 73
                 $m->from($mailbox);
74 74
                 $m->to("[email protected]")->subject("$subject");
75 75
             });
Please login to merge, or discard this patch.