@@ -37,7 +37,7 @@ |
||
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 | } |
@@ -69,7 +69,7 @@ |
||
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 | }); |
@@ -72,8 +72,8 @@ |
||
72 | 72 | \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) { |
73 | 73 | $m->from($mailbox); |
74 | 74 | /** Send confirmation mail to all managers in the department from the user. |
75 | - *$m->to("")->subject("$subject"); |
|
76 | - */ |
|
75 | + *$m->to("")->subject("$subject"); |
|
76 | + */ |
|
77 | 77 | }); |
78 | 78 | |
79 | 79 | return redirect('sick'); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function boot() |
16 | 16 | { |
17 | - Bouncer::seeder(function () { |
|
17 | + Bouncer::seeder(function() { |
|
18 | 18 | Bouncer::allow('Agent'); |
19 | 19 | |
20 | 20 | Bouncer::allow('Administrator') |
@@ -72,7 +72,7 @@ |
||
72 | 72 | |
73 | 73 | $injectionData = ['user' => $user, 'password' => $mail_password]; |
74 | 74 | |
75 | - Mail::send('emails.new_user', $injectionData, function ($m) use ($user, $mailbox) { |
|
75 | + Mail::send('emails.new_user', $injectionData, function($m) use ($user, $mailbox) { |
|
76 | 76 | $m->from($mailbox); |
77 | 77 | $m->to($user->email)->subject('Your user credentials!'); |
78 | 78 | }); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * |
13 | 13 | * @var array |
14 | 14 | */ |
15 | - protected $commands = [ ]; |
|
15 | + protected $commands = []; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Define the application's command schedule. |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function __construct() |
10 | 10 | { |
11 | - $this->reloadTimeout = config('timecontrol.refreshInterval'); |
|
11 | + $this->reloadTimeout = config('timecontrol.refreshInterval'); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | /** |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function __construct() |
10 | 10 | { |
11 | - $this->reloadTimeout = config('timecontrol.refreshInterval'); |
|
11 | + $this->reloadTimeout = config('timecontrol.refreshInterval'); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | /** |
@@ -20,7 +20,7 @@ |
||
20 | 20 | public function transform(Departments $manager) |
21 | 21 | { |
22 | 22 | return [ |
23 | - 'id' => (int) $manager->id, |
|
23 | + 'id' => (int) $manager->id, |
|
24 | 24 | ]; |
25 | 25 | } |
26 | 26 | } |
27 | 27 | \ No newline at end of file |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function transform(Departments $department) |
28 | 28 | { |
29 | 29 | return [ |
30 | - 'id' => (int) $department->id, |
|
30 | + 'id' => (int) $department->id, |
|
31 | 31 | 'name' => (string) $department->department_name, |
32 | 32 | 'managers' => (string) $department->department_manager, |
33 | 33 | 'description' => (string) $department->department_description |