@@ -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 | }); |
@@ -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') |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function index() |
20 | 20 | { |
21 | - $teams = Teams::orderBy('name', 'asc')->paginate(10);; |
|
21 | + $teams = Teams::orderBy('name', 'asc')->paginate(10); ; |
|
22 | 22 | return view('teams/list', ['teams' => $teams]); |
23 | 23 | } |
24 | 24 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | 'm.d.Y' => '12.23.2010', |
30 | 30 | ); |
31 | 31 | |
32 | - $time_formats = array ( |
|
32 | + $time_formats = array( |
|
33 | 33 | 'H:i' => '23:00', |
34 | 34 | 'h:ia' => '11:00pm', |
35 | 35 | 'h:iA' => '11:00PM', |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $mail_password = $request->get('password'); |
66 | 66 | session()->flash('message', "New employee has been added to the application"); |
67 | 67 | |
68 | - Mail::send('emails.new_user', ['user' => $user, 'password' => $mail_password], function ($m) use ($user, $mailbox) { |
|
68 | + Mail::send('emails.new_user', ['user' => $user, 'password' => $mail_password], function($m) use ($user, $mailbox) { |
|
69 | 69 | $m->from($mailbox); |
70 | 70 | $m->to($user->email)->subject('Your user credentials!'); |
71 | 71 | }); |
@@ -262,8 +262,8 @@ discard block |
||
262 | 262 | |
263 | 263 | if (Input::file()) { |
264 | 264 | $image = Input::file('avatar'); |
265 | - $filename = time() . '.' . $image->getClientOriginalExtension(); |
|
266 | - $path = public_path('profilepics/' . $filename); |
|
265 | + $filename = time().'.'.$image->getClientOriginalExtension(); |
|
266 | + $path = public_path('profilepics/'.$filename); |
|
267 | 267 | |
268 | 268 | Image::make($image->getRealPath())->resize(200, 200)->save($path); |
269 | 269 | $user->image = $filename; |