diff --git a/apps/backoffice/backend/src/BackofficeBackendKernel.php b/apps/backoffice/backend/src/BackofficeBackendKernel.php index f3765c268..6ed60b1be 100644 --- a/apps/backoffice/backend/src/BackofficeBackendKernel.php +++ b/apps/backoffice/backend/src/BackofficeBackendKernel.php @@ -12,7 +12,7 @@ use function dirname; -final class BackofficeBackendKernel extends Kernel +class BackofficeBackendKernel extends Kernel { use MicroKernelTrait; diff --git a/apps/backoffice/frontend/src/BackofficeFrontendKernel.php b/apps/backoffice/frontend/src/BackofficeFrontendKernel.php index 9411cb2bc..dd793f7ab 100644 --- a/apps/backoffice/frontend/src/BackofficeFrontendKernel.php +++ b/apps/backoffice/frontend/src/BackofficeFrontendKernel.php @@ -12,7 +12,7 @@ use function dirname; -final class BackofficeFrontendKernel extends Kernel +class BackofficeFrontendKernel extends Kernel { use MicroKernelTrait; diff --git a/apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php b/apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php index 91dc36da2..945784311 100644 --- a/apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php +++ b/apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php @@ -83,6 +83,7 @@ private function findTransformer(string $tableName, string $operation): ?Databas throw new RuntimeException("Transformer not found for table $tableName and operation $operation"); } + /** @var class-string|null $class */ $class = $this->transformers[$tableName][$operation]; return $class ? new $class() : null; diff --git a/apps/mooc/backend/src/MoocBackendKernel.php b/apps/mooc/backend/src/MoocBackendKernel.php index 36c5be57e..cc8f8ed58 100644 --- a/apps/mooc/backend/src/MoocBackendKernel.php +++ b/apps/mooc/backend/src/MoocBackendKernel.php @@ -12,7 +12,7 @@ use function dirname; -final class MoocBackendKernel extends Kernel +class MoocBackendKernel extends Kernel { use MicroKernelTrait;