Use phpstan level 2

[MAILPOET-1822]
This commit is contained in:
Pavel Dohnal
2019-02-20 13:55:10 +01:00
committed by M. Shull
parent 37d2134811
commit bed80e67f1
25 changed files with 123 additions and 31 deletions

View File

@@ -11,6 +11,15 @@ if (!defined('ABSPATH')) exit;
/**
* @property int $id
* @property string $email
* @property string $first_name
* @property string $last_name
* @property string $status
* @property string|null $subscribed_ip
* @property string|null $confirmed_ip
* @property string|null $confirmed_at
* @property string|null $deleted_at
* @property string|null $source
* @property int $count_confirmations
* @property int $wp_user_id
* @property array $segments
* @property array $subscriptions
@@ -26,6 +35,9 @@ class Subscriber extends Model {
const STATUS_BOUNCED = 'bounced';
const SUBSCRIBER_TOKEN_LENGTH = 6;
/** @var string|bool */
public $token;
function __construct() {
parent::__construct();