Fix properties with trailing underscore

[MAILPOET-2715]
This commit is contained in:
Jan Jakeš
2020-02-17 14:46:11 +01:00
committed by Jack Kitterhing
parent ec6ecdb79e
commit e185121f43
29 changed files with 42 additions and 42 deletions

View File

@ -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'])) {