Skip to content

Commit 70ca589

Browse files
committed
fix: add include for payment method display and fix PHPStan errors
1 parent 55d0811 commit 70ca589

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

class-woocommerce-gateway-monei.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class Woocommerce_Gateway_Monei {
3030
/**
3131
* The single instance of the class.
3232
*
33-
* @var Woocommerce_Gateway_Monei
33+
* @var Woocommerce_Gateway_Monei|null
3434
* @since 1.0.0
3535
*/
3636
protected static $_instance = null;
@@ -140,6 +140,7 @@ private function includes() {
140140
include_once 'includes/woocommerce-gateway-monei-core-functions.php';
141141
include_once 'includes/class-wc-monei-ipn.php';
142142
include_once 'includes/class-wc-monei-logger.php';
143+
include_once 'includes/class-wc-monei-payment-method-display.php';
143144

144145
if ( $this->is_request( 'admin' ) ) {
145146
include_once 'includes/class-wc-monei-pre-auth.php';

0 commit comments

Comments
 (0)