Add public keyword to methods
[MAILPOET-2413]
This commit is contained in:
@ -13,12 +13,12 @@ class WooCommerceListImport {
|
||||
/** @var WPFunctions */
|
||||
private $wp;
|
||||
|
||||
function __construct(PageRenderer $page_renderer, WPFunctions $wp) {
|
||||
public function __construct(PageRenderer $page_renderer, WPFunctions $wp) {
|
||||
$this->page_renderer = $page_renderer;
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
||||
function render() {
|
||||
public function render() {
|
||||
if ((bool)(defined('DOING_AJAX') && DOING_AJAX)) return;
|
||||
$data = [
|
||||
'finish_wizard_url' => $this->wp->adminUrl('admin.php?page=' . Menu::MAIN_PAGE_SLUG),
|
||||
|
Reference in New Issue
Block a user