Fix undefined properties in models [MAILPOET-2488]

This commit is contained in:
wxa
2019-12-20 10:56:18 +03:00
committed by amine-mp
parent 7285a4a075
commit dec7bc24a5
8 changed files with 16 additions and 8 deletions

View File

@@ -4,6 +4,11 @@ namespace MailPoet\Models;
use MailPoet\WP\Functions as WPFunctions;
/**
* @property string $name
* @property string $newsletter_type
*/
class NewsletterOptionField extends Model {
public static $_table = MP_NEWSLETTER_OPTION_FIELDS_TABLE;