mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[Maintenance] Remove depractions from OrderPaymentProcessor
This commit is contained in:
parent
69798e40ba
commit
37a14b5594
1 changed files with 0 additions and 6 deletions
|
|
@ -31,12 +31,6 @@ final class OrderPaymentProcessor implements OrderProcessorInterface
|
|||
/** @var array<string> $unprocessableOrderStates */
|
||||
private array $unprocessableOrderStates = [],
|
||||
) {
|
||||
if ($this->orderPaymentsRemover === null) {
|
||||
@trigger_error(sprintf('Not passing an $orderPaymentsRemover to %s constructor is deprecated since Sylius 1.12 and will be prohibited in Sylius 2.0.', self::class), \E_USER_DEPRECATED);
|
||||
}
|
||||
if ([] === $this->unprocessableOrderStates) {
|
||||
@trigger_error(sprintf('Not passing an $unprocessableOrderStates to %s constructor is deprecated since Sylius 1.12 and will be prohibited in Sylius 2.0.', self::class), \E_USER_DEPRECATED);
|
||||
}
|
||||
}
|
||||
|
||||
public function process(BaseOrderInterface $order): void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue