Completed
Push — development ( 49eb04...baae14 )
by Glenn
11:32 queued 06:04
created
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.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
app/Http/Controllers/TeamsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
app/Http/Controllers/StaffController.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
         $injectionData = ['user' => $user, 'password' => $mail_password];
72 72
         
73
-        Mail::send('emails.new_user', $injectionData, function ($m) use ($user, $mailbox) {
73
+        Mail::send('emails.new_user', $injectionData, function($m) use ($user, $mailbox) {
74 74
             $m->from($mailbox);
75 75
             $m->to($user->email)->subject('Your user credentials!');
76 76
         });
@@ -261,11 +261,11 @@  discard block
 block discarded – undo
261 261
     public function update(Request $request)
262 262
     {
263 263
         // TODO: Add validation - Tjoosten
264
-<<<<<<< Updated upstream
264
+<< << << < Updated upstream
265 265
         
266
-=======
266
+=== === =
267 267
 
268
->>>>>>> Stashed changes
268
+>> >> >> > Stashed changes
269 269
         $user = User::findOrFail(auth()->user()->id);
270 270
         $user->fname = $request->get('email');
271 271
         $user->name = $request->get('name');
@@ -275,8 +275,8 @@  discard block
 block discarded – undo
275 275
 
276 276
         if (Input::file()) {
277 277
             $image = Input::file('avatar');
278
-            $filename = time() . '.' . $image->getClientOriginalExtension();
279
-            $path = public_path('profilepics/' . $filename);
278
+            $filename = time().'.'.$image->getClientOriginalExtension();
279
+            $path = public_path('profilepics/'.$filename);
280 280
 
281 281
             Image::make($image->getRealPath())->resize(200, 200)->save($path);
282 282
             $user->image = $filename;
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
      */
296 296
     public function destroy($id)
297 297
     {
298
-        if (! Auth::user()->is('Administrator')) {
298
+        if (!Auth::user()->is('Administrator')) {
299 299
             return Redirect::back();
300 300
         }
301 301
 
Please login to merge, or discard this patch.