Configure Renovate #2
Annotations
8 errors
src/DataMapper/SalesOrderDataMapper.php#L49
src/DataMapper/SalesOrderDataMapper.php:49:70: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod is more specific than the inferred return type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' (see https://psalm.dev/070)
|
src/DataMapper/SalesOrderDataMapper.php#L58
src/DataMapper/SalesOrderDataMapper.php:58:16: LessSpecificReturnStatement: The type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod (see https://psalm.dev/129)
|
src/DataMapper/SalesOrderDataMapper.php#L61
src/DataMapper/SalesOrderDataMapper.php:61:71: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod is more specific than the inferred return type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' (see https://psalm.dev/070)
|
src/DataMapper/SalesOrderDataMapper.php#L70
src/DataMapper/SalesOrderDataMapper.php:70:16: LessSpecificReturnStatement: The type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod (see https://psalm.dev/129)
|
src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php#L29
src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php:29:54: PossiblyFalseReference: Cannot call method getTotal on possibly false value (see https://psalm.dev/105)
|
src/Repository/RegisteredWebhooksRepository.php#L13
src/Repository/RegisteredWebhooksRepository.php:13:56: MoreSpecificReturnType: The declared return type 'Setono\SyliusPeakWMSPlugin\Model\RegisteredWebhooksInterface|null' for Setono\SyliusPeakWMSPlugin\Repository\RegisteredWebhooksRepository::findOneByVersion is more specific than the inferred return type 'null|object' (see https://psalm.dev/070)
|
src/Repository/RegisteredWebhooksRepository.php#L18
src/Repository/RegisteredWebhooksRepository.php:18:16: LessSpecificReturnStatement: The type 'null|object' is more general than the declared return type 'Setono\SyliusPeakWMSPlugin\Model\RegisteredWebhooksInterface|null' for Setono\SyliusPeakWMSPlugin\Repository\RegisteredWebhooksRepository::findOneByVersion (see https://psalm.dev/129)
|
|
This job failed
Loading