Skip to content

Commit

Permalink
Merge branch 'develop' into add/transaction-id-to-refund-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaun1985 authored Jan 5, 2024
2 parents 1cf7506 + fc29bee commit afe02f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog/fix-unnecessary-import-warning
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: fix

Remove unnecessary import statement which leads to a warning when first loaded
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use WC_Payment_Gateway_WCPay;
/**
* WC_Payments_Payment_Method_Messaging_Element class.
*/
Expand All @@ -35,7 +34,7 @@ class WC_Payments_Payment_Method_Messaging_Element {
* @param WC_Payment_Gateway_WCPay $gateway Gateway instance.
* @return void
*/
public function __construct( WC_Payments_Account $account, $gateway ) {
public function __construct( WC_Payments_Account $account, WC_Payment_Gateway_WCPay $gateway ) {
$this->account = $account;
$this->gateway = $gateway;
}
Expand Down

0 comments on commit afe02f9

Please sign in to comment.