Completed
Push — master ( 33519c...49d742 )
by
unknown
02:58
created
app/Http/Controllers/Admin/DJController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@
 block discarded – undo
50 50
 		{
51 51
 			$file = $request->file('picture');
52 52
 			$dj->uploadFile('picture', $file);
53
-		}
54
-		else
53
+		} else
55 54
 		{
56 55
 			$dj->picture = 'default.jpg';
57 56
 		}
Please login to merge, or discard this patch.
app/Http/Middleware/VerifyAuthOrWhitelisted.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
 			if ($request->ajax())
47 47
 			{
48 48
 				return response('Unauthorized.', 401);
49
-			}
50
-			else
49
+			} else
51 50
 			{
52 51
 				return redirect()->guest('auth/login');
53 52
 			}
Please login to merge, or discard this patch.
app/Schedule/ScheduledShow.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -120,12 +120,10 @@
 block discarded – undo
120 120
         if ($this->dayOfWeek == $now->dayOfWeek)
121 121
         {
122 122
             return 'Today';
123
-        }
124
-        else if ($this->dayOfWeek == $now->addDay()->dayOfWeek)
123
+        } else if ($this->dayOfWeek == $now->addDay()->dayOfWeek)
125 124
         {
126 125
             return 'Tomorrow';
127
-        }
128
-        else 
126
+        } else 
129 127
         {
130 128
             return $this->getAirDate();
131 129
         }
Please login to merge, or discard this patch.
app/Schedule/WeeklySchedule.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,7 @@
 block discarded – undo
15 15
             if (static::showContinuesIntoCurrentTimeslot($scheduledShow, $timeslot))
16 16
             {
17 17
                 $scheduledShow->extendShowByHour();
18
-            } 
19
-            else
18
+            } else
20 19
             {
21 20
                 $show = ScheduledShow::fromShowAndDJ($timeslot->showForTimeslot, $timeslot->djForTimeslot);
22 21
                 $show->setId($timeslot->id);
Please login to merge, or discard this patch.
app/Http/Middleware/Authenticate.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
 			if ($request->ajax())
47 47
 			{
48 48
 				return response('Unauthorized.', 401);
49
-			}
50
-			else
49
+			} else
51 50
 			{
52 51
 				return redirect()->guest('auth/login');
53 52
 			}
Please login to merge, or discard this patch.