mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix psalm
This commit is contained in:
parent
ea79ec36d5
commit
de842543cd
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class OXXO {
|
||||||
|
|
||||||
add_action(
|
add_action(
|
||||||
'woocommerce_order_details_before_order_table_items',
|
'woocommerce_order_details_before_order_table_items',
|
||||||
function( $order ) {
|
function( WC_Order $order ) {
|
||||||
if ( $order->get_payment_method() === OXXOGateway::ID ) {
|
if ( $order->get_payment_method() === OXXOGateway::ID ) {
|
||||||
$payer_action = $order->get_meta( 'ppcp_oxxo_payer_action' );
|
$payer_action = $order->get_meta( 'ppcp_oxxo_payer_action' );
|
||||||
if ( $payer_action ) {
|
if ( $payer_action ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue