@@ -50,8 +50,7 @@ |
||
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 | } |
@@ -46,8 +46,7 @@ |
||
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 | } |
@@ -120,12 +120,10 @@ |
||
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 | } |
@@ -15,8 +15,7 @@ |
||
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); |
@@ -46,8 +46,7 @@ |
||
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 | } |