Fix stub method

This commit is contained in:
dinamiko 2022-08-16 11:01:13 +02:00
parent 03fa159b43
commit ce67d78011
2 changed files with 4 additions and 4 deletions

View file

@ -12,8 +12,8 @@ class WC_Payment_Gateway
} }
protected function get_return_url($wcOrder) { protected function get_return_url($order = null) {
return $wcOrder; return '';
} }
public function process_admin_options() { public function process_admin_options() {

View file

@ -6,7 +6,7 @@ class WC_Payment_Gateway_CC
public function init_settings() {} public function init_settings() {}
public function process_admin_options() {} public function process_admin_options() {}
protected function get_return_url($wcOrder) { protected function get_return_url($order = null) {
return $wcOrder; return '';
} }
} }