mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix Psalm errors
This commit is contained in:
parent
9b81ac54f2
commit
2231b7836c
3 changed files with 6 additions and 14 deletions
|
@ -63,14 +63,6 @@ class OrderTrackingModule implements ModuleInterface {
|
|||
$settings->persist();
|
||||
}
|
||||
|
||||
/**
|
||||
* The settings listener.
|
||||
*
|
||||
* @var SettingsListener $listener
|
||||
*/
|
||||
$listener = $c->get( 'wcgateway.settings.listener' );
|
||||
$listener->listen_for_tracking_enabled();
|
||||
|
||||
$tracking_enabled = $settings->has( 'tracking_enabled' ) && $settings->get( 'tracking_enabled' );
|
||||
|
||||
if ( ! $tracking_enabled ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue