Task/payone 159 #1077
Annotations
8 errors
Run PHPStan:
src/EventListener/CheckoutConfirmPayolutionEventListener.php#L48
Parameter #1 $paymentMethods of method PayonePayment\EventListener\CheckoutConfirmPayolutionEventListener::removePaymentMethodIfMissing() expects Shopware\Core\Checkout\Payment\PaymentMethodCollection, array|Shopware\Core\Checkout\Payment\PaymentMethodCollection given.
|
Run PHPStan:
src/EventListener/CheckoutConfirmPayolutionEventListener.php#L49
Parameter #1 $paymentMethods of method PayonePayment\EventListener\CheckoutConfirmPayolutionEventListener::removePaymentMethodIfMissing() expects Shopware\Core\Checkout\Payment\PaymentMethodCollection, array|Shopware\Core\Checkout\Payment\PaymentMethodCollection given.
|
Run PHPStan:
src/EventListener/CheckoutConfirmPayolutionEventListener.php#L52
Parameter #1 $paymentMethods of method PayonePayment\EventListener\CheckoutConfirmPayolutionEventListener::removePaymentMethod() expects Shopware\Core\Checkout\Payment\PaymentMethodCollection, array|Shopware\Core\Checkout\Payment\PaymentMethodCollection given.
|
Run PHPStan:
src/EventListener/CheckoutConfirmPayolutionEventListener.php#L56
Parameter #1 $paymentMethods of method Shopware\Storefront\Page\Account\Order\AccountEditOrderPage::setPaymentMethods() expects Shopware\Core\Checkout\Payment\PaymentMethodCollection, array|Shopware\Core\Checkout\Payment\PaymentMethodCollection given.
|
Run PHPStan:
src/EventListener/CheckoutConfirmPayolutionEventListener.php#L66
Method PayonePayment\EventListener\CheckoutConfirmPayolutionEventListener::removePaymentMethodIfMissing() never returns array so it can be removed from the return type.
|
Run PHPStan:
src/EventListener/CheckoutConfirmPayolutionEventListener.php#L89
Method PayonePayment\EventListener\CheckoutConfirmPayolutionEventListener::getConfiguration() has parameter $configName with no type specified.
|
Run PHPStan:
src/EventListener/CheckoutConfirmPayolutionEventListener.php#L91
Method PayonePayment\EventListener\CheckoutConfirmPayolutionEventListener::getConfiguration() should return array|bool|int|string but returns array|bool|int|string|null.
|
Run PHPStan
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading