From 82445978bbcec53dd837c3c3ee40bbe55f8f2ab4 Mon Sep 17 00:00:00 2001 From: Danylo Kovalenko Date: Thu, 17 Oct 2024 16:23:07 +0300 Subject: [PATCH] phpstan fixes --- WebToPay.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebToPay.php b/WebToPay.php index a32332e..c654cf8 100644 --- a/WebToPay.php +++ b/WebToPay.php @@ -1406,13 +1406,13 @@ class WebToPay_Factory */ protected static array $defaultConfiguration = [ 'routes' => [ - self::ENV_PRODUCTION => [ + 'production' => [ 'publicKey' => 'https://www.paysera.com/download/public.key', 'payment' => 'https://bank.paysera.com/pay/', 'paymentMethodList' => 'https://www.paysera.com/new/api/paymentMethods/', 'smsAnswer' => 'https://bank.paysera.com/psms/respond/', ], - self::ENV_SANDBOX => [ + 'sandbox' => [ 'publicKey' => 'https://sandbox.paysera.com/download/public.key', 'payment' => 'https://sandbox.paysera.com/pay/', 'paymentMethodList' => 'https://sandbox.paysera.com/new/api/paymentMethods/',