Merge pull request #739 from NNTmux/analysis-8wLEve

Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
DariusIII
2018-10-11 12:14:26 +02:00
committed by GitHub
+1 -1
View File
@@ -102,7 +102,7 @@ class RSS extends Capabilities
($videosId > 0 ? sprintf('AND r.videos_id = %d %s', $videosId, ($catSearch === '' ? $catLimit : '')) : ''),
($aniDbID > 0 ? sprintf('AND r.anidbid = %d %s', $aniDbID, ($catSearch === '' ? $catLimit : '')) : ''),
($airDate > -1 ? sprintf('AND tve.firstaired >= DATE_SUB(CURDATE(), INTERVAL %d DAY)', $airDate) : ''),
$limit === -1 ? '' : ' LIMIT '.$limit. ' OFFSET '.$offset
$limit === -1 ? '' : ' LIMIT '.$limit.' OFFSET '.$offset
);
$expiresAt = now()->addMinutes(config('nntmux.cache_expiry_medium'));