Adding link to Peak in the order show page #24
Annotations
7 errors
|
src/EventSubscriber/AddLinkToPeakSubscriber.php#L19
src/EventSubscriber/AddLinkToPeakSubscriber.php:19: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\SyliusPeakWMSPlugin\EventSubscriber\AddLinkToPeakSubscriber::getSubscribedEvents is more specific than the inferred return type 'non-empty-array<array-key, 'addLink'>' (see https://psalm.dev/197)
|
src/EventSubscriber/AddLinkToPeakSubscriber.php#L21
src/EventSubscriber/AddLinkToPeakSubscriber.php:21:16: MixedArrayOffset: Cannot create mixed offset – expecting array-key (see https://psalm.dev/031)
|
src/EventSubscriber/AddLinkToPeakSubscriber.php#L21
src/EventSubscriber/AddLinkToPeakSubscriber.php:21:16: MixedReturnTypeCoercion: The type 'non-empty-array<array-key, 'addLink'>' 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\SyliusPeakWMSPlugin\EventSubscriber\AddLinkToPeakSubscriber::getSubscribedEvents (see https://psalm.dev/197)
|
src/EventSubscriber/AddLinkToPeakSubscriber.php#L21
src/EventSubscriber/AddLinkToPeakSubscriber.php:21:17: UndefinedClass: Class, interface or enum named Sylius\Bundle\AdminBundle\Menu\OrderShowMenuBuilder does not exist (see https://psalm.dev/019)
|
src/EventSubscriber/AddLinkToPeakSubscriber.php#L24
src/EventSubscriber/AddLinkToPeakSubscriber.php:24:29: UndefinedClass: Class, interface or enum named Sylius\Bundle\AdminBundle\Event\OrderShowMenuBuilderEvent does not exist (see https://psalm.dev/019)
|
|
This job failed
Loading