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

@ -11,14 +11,14 @@ class PostNotificationsBlank1Column {
private $template_image_url;
private $social_icon_url;
function __construct($assets_url) {
public function __construct($assets_url) {
$this->assets_url = $assets_url;
$this->external_template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/post-notifications-blank-1-column';
$this->template_image_url = $this->assets_url . '/img/blank_templates';
$this->social_icon_url = $this->assets_url . '/img/newsletter_editor/social-icons';
}
function get() {
public function get() {
return [
'name' => WPFunctions::get()->__("Post Notifications: Blank 1 Column", 'mailpoet'),
'categories' => json_encode(['notification', 'blank']),