@@ -48,8 +48,8 @@ |
||
| 48 | 48 | protected function mapWebRoutes() |
| 49 | 49 | { |
| 50 | 50 | Route::middleware('web') |
| 51 | - ->namespace($this->namespace) |
|
| 52 | - ->group(base_path('routes/web.php')); |
|
| 51 | + ->namespace($this->namespace) |
|
| 52 | + ->group(base_path('routes/web.php')); |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | { |
| 26 | 26 | try { |
| 27 | 27 | return $this->cache->remember(md5("itunes_track_url_{$term}{$album}{$artist}"), 24 * 60 * 7, |
| 28 | - function () use ($term, $album, $artist): ?string { |
|
| 28 | + function () use ($term, $album, $artist) : ?string { |
|
| 29 | 29 | $params = [ |
| 30 | 30 | 'term' => $term.($album ? " $album" : '').($artist ? " $artist" : ''), |
| 31 | 31 | 'media' => 'music', |