Fix properties with trailing underscore
[MAILPOET-2715]
This commit is contained in:
committed by
Jack Kitterhing
parent
ec6ecdb79e
commit
e185121f43
@@ -8,7 +8,7 @@ namespace MailPoet\Models;
|
||||
* @property string $updatedAt
|
||||
*/
|
||||
class NewsletterPost extends Model {
|
||||
public static $_table = MP_NEWSLETTER_POSTS_TABLE;
|
||||
public static $_table = MP_NEWSLETTER_POSTS_TABLE; // phpcs:ignore PSR2.Classes.PropertyDeclaration
|
||||
|
||||
public static function getNewestNewsletterPost($newsletterId) {
|
||||
return self::where('newsletter_id', $newsletterId)
|
||||
|
Reference in New Issue
Block a user