From 8f8bd980c5b7e1c98155f99dd38cb0d84b0c1983 Mon Sep 17 00:00:00 2001 From: Pavel Buchnev Date: Thu, 3 Oct 2024 00:31:22 +0400 Subject: [PATCH] Cs fix --- app/modules/Events/Application/EventsBootloader.php | 4 ++-- app/src/Interfaces/Http/Controller/SettingsAction.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/modules/Events/Application/EventsBootloader.php b/app/modules/Events/Application/EventsBootloader.php index 0ac3400..d564537 100644 --- a/app/modules/Events/Application/EventsBootloader.php +++ b/app/modules/Events/Application/EventsBootloader.php @@ -39,11 +39,11 @@ public function defineSingletons(): array EventRepository::class => static fn( ORMInterface $orm, EntityManagerInterface $manager, - DatabaseInterface $db + DatabaseInterface $db, ): EventRepository => new EventRepository( em: $manager, db: $db, - select: new Select($orm, Event::class) + select: new Select($orm, Event::class), ), ]; } diff --git a/app/src/Interfaces/Http/Controller/SettingsAction.php b/app/src/Interfaces/Http/Controller/SettingsAction.php index b579dcc..6fb08a1 100644 --- a/app/src/Interfaces/Http/Controller/SettingsAction.php +++ b/app/src/Interfaces/Http/Controller/SettingsAction.php @@ -36,7 +36,7 @@ public function __invoke( 'version' => $appVersion->version, 'client' => [ 'events' => $supportedEvents, - ] + ], ]); } }