@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | // Validate cover type |
| 21 | 21 | $validTypes = ['anime', 'audio', 'audiosample', 'book', 'console', 'games', 'movies', 'music', 'preview', 'sample', 'tvrage', 'video', 'xxx', 'tvshows']; |
| 22 | 22 | |
| 23 | - if (! in_array($type, $validTypes)) { |
|
| 23 | + if (!in_array($type, $validTypes)) { |
|
| 24 | 24 | abort(404); |
| 25 | 25 | } |
| 26 | 26 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | // Check if file exists |
| 45 | - if (! file_exists($filePath)) { |
|
| 45 | + if (!file_exists($filePath)) { |
|
| 46 | 46 | // Return placeholder image |
| 47 | 47 | $placeholderPath = public_path('assets/images/no-cover.png'); |
| 48 | 48 | if (file_exists($placeholderPath)) { |