Skip to content

Commit

Permalink
fix: no finalize kernel classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed Nov 20, 2023
1 parent 1c5a6b4 commit b74862f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/backoffice/backend/src/BackofficeBackendKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

use function dirname;

final class BackofficeBackendKernel extends Kernel
class BackofficeBackendKernel extends Kernel
{
use MicroKernelTrait;

Expand Down
2 changes: 1 addition & 1 deletion apps/backoffice/frontend/src/BackofficeFrontendKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

use function dirname;

final class BackofficeFrontendKernel extends Kernel
class BackofficeFrontendKernel extends Kernel
{
use MicroKernelTrait;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<DatabaseMutationToDomainEvent>|null $class */
$class = $this->transformers[$tableName][$operation];

return $class ? new $class() : null;
Expand Down
2 changes: 1 addition & 1 deletion apps/mooc/backend/src/MoocBackendKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

use function dirname;

final class MoocBackendKernel extends Kernel
class MoocBackendKernel extends Kernel
{
use MicroKernelTrait;

Expand Down

0 comments on commit b74862f

Please sign in to comment.