feat: make afterPay URL route and parameters readonly in PayumPayResponseProvider

This commit is contained in:
Francis Hilaire 2026-06-22 13:39:29 +02:00
parent 408d82790d
commit 95c0bb039f
No known key found for this signature in database
GPG key ID: 3392F830BF33D421

View file

@ -36,8 +36,8 @@ final class PayumPayResponseProvider implements PayResponseProviderInterface
public function __construct(
private Payum $payum,
private PaymentToPayResolverInterface $paymentToPayResolver,
private ?string $afterPayUrlRoute = null,
private array $afterPayUrlParameters = [],
private readonly ?string $afterPayUrlRoute = null,
private readonly array $afterPayUrlParameters = [],
) {
}