Create Email entity and log Symfony Email instances #4
Annotations
6 errors
|
src/EventSubscriber/LogSymfonyEmailSubscriber.php#L37
src/EventSubscriber/LogSymfonyEmailSubscriber.php:37:51: MixedReturnTypeCoercion: The declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\LogSymfonyEmailSubscriber::getSubscribedEvents is more specific than the inferred return type 'array{'Symfony\\Component\\Mailer\\Event\\MessageEvent'::class: list{'log', 10}, ...<mixed, list{'save', -10}>}' (see https://psalm.dev/197)
|
src/EventSubscriber/LogSymfonyEmailSubscriber.php#L39
src/EventSubscriber/LogSymfonyEmailSubscriber.php:39:16: MixedReturnTypeCoercion: The type 'array{'Symfony\\Component\\Mailer\\Event\\MessageEvent'::class: list{'log', 10}, ...<mixed, list{'save', -10}>}' is more general than the declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\LogSymfonyEmailSubscriber::getSubscribedEvents (see https://psalm.dev/197)
|
src/EventSubscriber/LogSymfonyEmailSubscriber.php#L41
src/EventSubscriber/LogSymfonyEmailSubscriber.php:41:13: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
src/EventSubscriber/LogSymfonyEmailSubscriber.php#L79
src/EventSubscriber/LogSymfonyEmailSubscriber.php:79:26: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
|
This job was cancelled
Loading