mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Minor improvement
This commit is contained in:
parent
d207514c73
commit
e64223f528
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ use Symfony\Component\Form\FormEvents;
|
|||
|
||||
final class ChangePaymentMethodType extends AbstractType
|
||||
{
|
||||
/** @param array<string> $allowedPaymentStates */
|
||||
public function __construct(private readonly array $allowedPaymentStates = [PaymentInterface::STATE_NEW, PaymentInterface::STATE_CART])
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue