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

@ -8,7 +8,7 @@ namespace MailPoet\Models;
* @property int $queueId
*/
class StatisticsUnsubscribes extends Model {
public static $_table = MP_STATISTICS_UNSUBSCRIBES_TABLE;
public static $_table = MP_STATISTICS_UNSUBSCRIBES_TABLE; // phpcs:ignore PSR2.Classes.PropertyDeclaration
public static function getOrCreate($subscriberId, $newsletterId, $queueId) {
$statistics = self::where('subscriber_id', $subscriberId)