Completed
Pull Request — master (#107)
by Glenn
16:37 queued 11:09
created
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   +4 added lines, -4 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
         });
@@ -274,8 +274,8 @@  discard block
 block discarded – undo
274 274
 
275 275
         if (Input::file()) {
276 276
             $image = Input::file('avatar');
277
-            $filename = time() . '.' . $image->getClientOriginalExtension();
278
-            $path = public_path('profilepics/' . $filename);
277
+            $filename = time().'.'.$image->getClientOriginalExtension();
278
+            $path = public_path('profilepics/'.$filename);
279 279
 
280 280
             Image::make($image->getRealPath())->resize(200, 200)->save($path);
281 281
             $user->image = $filename;
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
      */
295 295
     public function destroy($id)
296 296
     {
297
-        if (! Auth::user()->is('Administrator')) {
297
+        if (!Auth::user()->is('Administrator')) {
298 298
             return Redirect::back();
299 299
         }
300 300
 
Please login to merge, or discard this patch.