Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@@ -10,8 +10,8 @@ namespace MailPoet\Models;
class NewsletterPost extends Model {
public static $_table = MP_NEWSLETTER_POSTS_TABLE;
public static function getNewestNewsletterPost($newsletter_id) {
return self::where('newsletter_id', $newsletter_id)
public static function getNewestNewsletterPost($newsletterId) {
return self::where('newsletter_id', $newsletterId)
->orderByDesc('created_at')
->findOne();
}