@@ -80,7 +80,7 @@ |
||
| 80 | 80 | ), |
| 81 | 81 | default => new ArrayAdapter(), |
| 82 | 82 | }; |
| 83 | - } catch (CacheException|ConnectionException $e) { |
|
| 83 | + } catch (CacheException | ConnectionException $e) { |
|
| 84 | 84 | $this->logger->error('Cache initialization failed', [$e->getMessage()]); |
| 85 | 85 | |
| 86 | 86 | $cacheHandler = new ArrayAdapter(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | return [ |
| 14 | 14 | CacheProviderInterface::class => autowire(CacheProvider::class), |
| 15 | - ClientInterface::class => static function (ConfigProviderInterface $config): Client { |
|
| 15 | + ClientInterface::class => static function(ConfigProviderInterface $config): Client { |
|
| 16 | 16 | $client = new Client( |
| 17 | 17 | $config->getRedisUri() |
| 18 | 18 | ); |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | return [ |
| 29 | 29 | Psr17Factory::class => autowire(), |
| 30 | 30 | getID3::class => autowire(), |
| 31 | - EntityManagerInterface::class => static function ( |
|
| 31 | + EntityManagerInterface::class => static function( |
|
| 32 | 32 | ConfigProviderInterface $config, |
| 33 | 33 | CacheProviderInterface $cacheProvider, |
| 34 | 34 | ): EntityManagerInterface { |