chore: add cdc pattern example #486
Annotations
3 errors
🏁 Static analysis:
apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php#L77
apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php:77:74: MoreSpecificReturnType: The declared return type 'CodelyTv\Shared\Infrastructure\Cdc\DatabaseMutationToDomainEvent|null' for CodelyTv\Apps\Mooc\Backend\Command\DomainEvents\PublishDomainEventsFromMutationsCommand::findTransformer is more specific than the inferred return type 'null|object' (see https://psalm.dev/070)
|
🏁 Static analysis:
apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php#L88
apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php:88:10: LessSpecificReturnStatement: The type 'null|object' is more general than the declared return type 'CodelyTv\Shared\Infrastructure\Cdc\DatabaseMutationToDomainEvent|null' for CodelyTv\Apps\Mooc\Backend\Command\DomainEvents\PublishDomainEventsFromMutationsCommand::findTransformer (see https://psalm.dev/129)
|
🏁 Static analysis
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading