@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | Category::TV_ROOT, |
| 107 | 107 | Category::TV_OTHER, |
| 108 | 108 | $this->releases->showPasswords(), |
| 109 | - ! empty($limit) ? sprintf(' LIMIT %d OFFSET 0', min($limit, 100)) : '' |
|
| 109 | + !empty($limit) ? sprintf(' LIMIT %d OFFSET 0', min($limit, 100)) : '' |
|
| 110 | 110 | ); |
| 111 | 111 | |
| 112 | 112 | $expiresAt = now()->addMinutes(config('nntmux.cache_expiry_medium')); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | Category::MOVIE_ROOT, |
| 135 | 135 | Category::MOVIE_OTHER, |
| 136 | 136 | $this->releases->showPasswords(), |
| 137 | - ! empty($limit) ? sprintf(' LIMIT %d OFFSET 0', min($limit, 100)) : '' |
|
| 137 | + !empty($limit) ? sprintf(' LIMIT %d OFFSET 0', min($limit, 100)) : '' |
|
| 138 | 138 | ); |
| 139 | 139 | |
| 140 | 140 | $expiresAt = now()->addMinutes(config('nntmux.cache_expiry_medium')); |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | { |
| 159 | 159 | $cacheKey = 'rss_trending_movies_48h'; |
| 160 | 160 | |
| 161 | - return Cache::remember($cacheKey, 3600, function () { |
|
| 161 | + return Cache::remember($cacheKey, 3600, function() { |
|
| 162 | 162 | $fortyEightHoursAgo = \Illuminate\Support\Carbon::now()->subHours(48); |
| 163 | 163 | |
| 164 | 164 | // First get the top 15 movies by download count |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | { |
| 219 | 219 | $cacheKey = 'rss_trending_shows_48h'; |
| 220 | 220 | |
| 221 | - return Cache::remember($cacheKey, 3600, function () { |
|
| 221 | + return Cache::remember($cacheKey, 3600, function() { |
|
| 222 | 222 | $fortyEightHoursAgo = \Illuminate\Support\Carbon::now()->subHours(48); |
| 223 | 223 | |
| 224 | 224 | // First get the top 15 TV shows by download count |