Fix properties with trailing underscore
[MAILPOET-2715]
This commit is contained in:
committed by
Jack Kitterhing
parent
ec6ecdb79e
commit
e185121f43
@ -9,7 +9,7 @@ namespace MailPoet\Models;
|
||||
* @property string $updatedAt
|
||||
*/
|
||||
class NewsletterOption extends Model {
|
||||
public static $_table = MP_NEWSLETTER_OPTION_TABLE;
|
||||
public static $_table = MP_NEWSLETTER_OPTION_TABLE; // phpcs:ignore PSR2.Classes.PropertyDeclaration
|
||||
|
||||
public static function createOrUpdate($data = []) {
|
||||
if (!is_array($data) || empty($data['newsletter_id']) || empty($data['option_field_id'])) {
|
||||
|
Reference in New Issue
Block a user