Add public keyword to methods
[MAILPOET-2413]
This commit is contained in:
@ -13,12 +13,12 @@ class SubscribersAPIKeyInvalid {
|
||||
/** @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() {
|
||||
$this->page_renderer->displayPage('invalidkey.html', [
|
||||
'current_wp_user' => $this->wp->wpGetCurrentUser()->to_array(),
|
||||
'subscriber_count' => Subscriber::getTotalSubscribers(),
|
||||
|
Reference in New Issue
Block a user