Fix properties with trailing underscore
[MAILPOET-2715]
This commit is contained in:
committed by
Jack Kitterhing
parent
ec6ecdb79e
commit
e185121f43
@ -3,7 +3,7 @@
|
||||
namespace MailPoet\Models;
|
||||
|
||||
class StatisticsForms extends Model {
|
||||
public static $_table = MP_STATISTICS_FORMS_TABLE;
|
||||
public static $_table = MP_STATISTICS_FORMS_TABLE; // phpcs:ignore PSR2.Classes.PropertyDeclaration
|
||||
|
||||
public static function getTotalSignups($formId = false) {
|
||||
return self::where('form_id', $formId)->count();
|
||||
|
Reference in New Issue
Block a user