@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public static function configureContainer(LimoncelloContainerInterface $container): void |
| 36 | 36 | { |
| 37 | - $container[EventEmitterInterface::class] = function (PsrContainerInterface $container): EventEmitterInterface { |
|
| 37 | + $container[EventEmitterInterface::class] = function(PsrContainerInterface $container): EventEmitterInterface { |
|
| 38 | 38 | $emitter = new SimpleEventEmitter(); |
| 39 | 39 | $cacheData = $container->get(SettingsProviderInterface::class)->get(C::class)[C::KEY_CACHED_DATA]; |
| 40 | 40 | $emitter->setStaticSubscribers($cacheData); |
@@ -75,8 +75,8 @@ |
||
| 75 | 75 | $subscribersFileMask = $defaults[static::KEY_SUBSCRIBERS_FILE_MASK] ?? null; |
| 76 | 76 | assert(empty($subscribersFileMask) === false, "Invalid Subscribers file mask `$subscribersFileMask`."); |
| 77 | 77 | |
| 78 | - $eventsPath = $eventsFolder . DIRECTORY_SEPARATOR . $eventsFileMask; |
|
| 79 | - $subscribersPath = $subscribersFolder . DIRECTORY_SEPARATOR . $subscribersFileMask; |
|
| 78 | + $eventsPath = $eventsFolder.DIRECTORY_SEPARATOR.$eventsFileMask; |
|
| 79 | + $subscribersPath = $subscribersFolder.DIRECTORY_SEPARATOR.$subscribersFileMask; |
|
| 80 | 80 | |
| 81 | 81 | $emitter = new SimpleEventEmitter(); |
| 82 | 82 | $eventClasses = iterator_to_array( |