Skip to content

Commit f3a09aa

Browse files
authored
Unnest NewPaymentMethodTypeVoter (#2787)
1 parent 4aad14e commit f3a09aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/commerce/payment/payment_method_filtering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Now new custom payment method type should be visible in **Commerce** -> **Paymen
3232
Next, create a `NewPaymentMethodTypeVoter.php` file with the voter definition for your new payment method type:
3333

3434
``` php
35-
[[= include_file('code_samples/front/shop/payment/src/src/lib/PaymentMethod/Voter/NewPaymentMethodTypeVoter.php') =]]
35+
[[= include_file('code_samples/front/shop/payment/src/lib/PaymentMethod/Voter/NewPaymentMethodTypeVoter.php') =]]
3636
```
3737

3838
Created voter decides, if selected payment method type can be used and displayed in checkout process.
@@ -55,4 +55,4 @@ php bin/console cache:clear
5555

5656
Then, you can create a payment of the new type.
5757

58-
![New payment method type](new_payment_method_type.png "New payment method type")
58+
![New payment method type](new_payment_method_type.png "New payment method type")

0 commit comments

Comments
 (0)