@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | public function __construct( |
| 31 | 31 | private readonly ConfiguratorInterface $config |
| 32 | - ) { |
|
| 32 | + ){ |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | public function registerTypeAlias(string $storageClass, string $alias): void |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | ): CacheManager { |
| 56 | 56 | $manager = new CacheManager($config, $factory, $dispatcher); |
| 57 | 57 | |
| 58 | - foreach ($config->getAliases() as $alias => $storageName) { |
|
| 58 | + foreach ($config->getAliases() as $alias => $storageName){ |
|
| 59 | 59 | $binder->bind( |
| 60 | 60 | $alias, |
| 61 | 61 | static fn (CacheManager $manager): CacheInterface => $manager->storage($storageName) |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | ], |
| 79 | 79 | 'file' => [ |
| 80 | 80 | 'type' => 'file', |
| 81 | - 'path' => $dirs->get('runtime') . 'cache', |
|
| 81 | + 'path' => $dirs->get('runtime').'cache', |
|
| 82 | 82 | ], |
| 83 | 83 | ], |
| 84 | 84 | 'typeAliases' => [ |
@@ -55,7 +55,8 @@ |
||
| 55 | 55 | ): CacheManager { |
| 56 | 56 | $manager = new CacheManager($config, $factory, $dispatcher); |
| 57 | 57 | |
| 58 | - foreach ($config->getAliases() as $alias => $storageName) { |
|
| 58 | + foreach ($config->getAliases() as $alias => $storageName) |
|
| 59 | + { |
|
| 59 | 60 | $binder->bind( |
| 60 | 61 | $alias, |
| 61 | 62 | static fn (CacheManager $manager): CacheInterface => $manager->storage($storageName) |