@@ -44,7 +44,7 @@ public function __construct(
4444 SharedStorageInterface $ sharedStorage ,
4545 PaymentMethodRepositoryInterface $ paymentMethodRepository ,
4646 ExampleFactoryInterface $ paymentMethodExampleFactory ,
47- ObjectManager $ paymentMethodManager
47+ ObjectManager $ paymentMethodManager,
4848 ) {
4949 $ this ->sharedStorage = $ sharedStorage ;
5050 $ this ->paymentMethodRepository = $ paymentMethodRepository ;
@@ -57,7 +57,7 @@ public function __construct(
5757 */
5858 public function theStoreHasAPaymentMethodWithACodeAndPayuCheckoutGateway (
5959 string $ paymentMethodName ,
60- string $ paymentMethodCode
60+ string $ paymentMethodCode,
6161 ): void {
6262 $ paymentMethod = $ this ->createPaymentMethod ($ paymentMethodName , $ paymentMethodCode , 'PayU Checkout ' );
6363 $ paymentMethod ->getGatewayConfig ()->setConfig (
@@ -68,7 +68,7 @@ public function theStoreHasAPaymentMethodWithACodeAndPayuCheckoutGateway(
6868 'oauth_client_id ' => 'CLIENT_ID ' ,
6969 'oauth_client_secret ' => 'SECRET ' ,
7070 'payum.http_client ' => '@sylius.payum.http_client ' ,
71- ]
71+ ],
7272 );
7373 $ this ->paymentMethodManager ->persist ($ paymentMethod );
7474 $ this ->paymentMethodManager ->flush ();
@@ -79,7 +79,7 @@ private function createPaymentMethod(
7979 string $ code ,
8080 string $ description = '' ,
8181 bool $ addForCurrentChannel = true ,
82- ?int $ position = null
82+ ?int $ position = null ,
8383 ): PaymentMethodInterface {
8484 /** @var PaymentMethodInterface $paymentMethod */
8585 $ paymentMethod = $ this ->paymentMethodExampleFactory ->create (
@@ -92,7 +92,7 @@ private function createPaymentMethod(
9292 'enabled ' => true ,
9393 'channels ' => ($ addForCurrentChannel && $ this ->sharedStorage ->has ('channel ' ))
9494 ? [$ this ->sharedStorage ->get ('channel ' )] : [],
95- ]
95+ ],
9696 );
9797
9898 if (null !== $ position ) {
0 commit comments