@@ -65,7 +65,7 @@ |
||
| 65 | 65 | ->withHeader('Cache-Control', sprintf('public, max-age=%d', $this->config->getClientCacheMaxAge())) |
| 66 | 66 | ->withHeader('Last-Modified', (string) $lastModified?->format(DATE_RFC7231)) |
| 67 | 67 | ->withHeader('Content-Type', $artContent['mimeType']) |
| 68 | - ->withHeader('Content-Disposition', 'filename='.$filename) |
|
| 68 | + ->withHeader('Content-Disposition', 'filename=' . $filename) |
|
| 69 | 69 | ->withBody( |
| 70 | 70 | $this->psr17Factory->createStream($artContent['content']) |
| 71 | 71 | ); |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | 'id' => (string) $artistId, |
| 50 | 50 | 'name' => (string) $artist->getTitle(), |
| 51 | 51 | 'artistImageUrl' => '', |
| 52 | - 'coverArtId' => 'artist-'.$artistId, |
|
| 52 | + 'coverArtId' => 'artist-' . $artistId, |
|
| 53 | 53 | 'albumCount' => $artist->getAlbumCount(), |
| 54 | 54 | 'starred' => null, |
| 55 | 55 | ]; |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | // use the provided salt to hash the token |
| 37 | 37 | if ( |
| 38 | 38 | $accessKeyFromStorage === null || |
| 39 | - $token !== md5($accessKeyFromStorage.$salt) |
|
| 39 | + $token !== md5($accessKeyFromStorage . $salt) |
|
| 40 | 40 | ) { |
| 41 | 41 | throw new AuthenticationFailedException(); |
| 42 | 42 | } |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | LicenseDataProvider::class => autowire(), |
| 17 | 17 | ArtistListDataProviderInterface::class => autowire(), |
| 18 | 18 | AuthenticationProvider::class => autowire(), |
| 19 | - HyperSonicInterface::class => function (ContainerInterface $c): HyperSonicInterface { |
|
| 19 | + HyperSonicInterface::class => function(ContainerInterface $c): HyperSonicInterface { |
|
| 20 | 20 | return HyperSonic::init( |
| 21 | 21 | new FeatureSetFactory(), |
| 22 | 22 | $c->get(AuthenticationProvider::class), |