Add public keyword to methods

[MAILPOET-2413]
This commit is contained in:
Amine Ben hammou
2019-12-26 12:56:49 +01:00
committed by wxa
parent ec409042d5
commit 43df66d162
823 changed files with 4440 additions and 4440 deletions

View File

@ -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),