diff --git a/lib/Models/Model.php b/lib/Models/Model.php index 8585b3d46e..6865499433 100644 --- a/lib/Models/Model.php +++ b/lib/Models/Model.php @@ -74,6 +74,7 @@ use MailPoet\WP\Functions as WPFunctions; * @method $this whereRaw($clause, $parameters=array()) * @method static $this whereRaw($clause, $parameters=array()) * @method $this deleteMany() + * @method static $this deleteMany() * @method $this orderByDesc($column_name) * @method static $this orderByDesc($column_name) * @method $this orderByAsc($column_name) diff --git a/lib/Models/Newsletter.php b/lib/Models/Newsletter.php index 7992f03a58..00df307b87 100644 --- a/lib/Models/Newsletter.php +++ b/lib/Models/Newsletter.php @@ -22,7 +22,7 @@ use function MailPoet\Util\array_column; /** * @property int $id * @property string $type - * @property object|boolean $queue + * @property object|array|boolean $queue * @property string $hash * @property string $sender_address * @property string $status diff --git a/lib/Models/StatisticsNewsletters.php b/lib/Models/StatisticsNewsletters.php index e7dfb656d1..8ec10fd8c3 100644 --- a/lib/Models/StatisticsNewsletters.php +++ b/lib/Models/StatisticsNewsletters.php @@ -2,6 +2,9 @@ namespace MailPoet\Models; +/** + * @property string|null $sent_at + */ class StatisticsNewsletters extends Model { public static $_table = MP_STATISTICS_NEWSLETTERS_TABLE; diff --git a/lib/Tasks/Sending.php b/lib/Tasks/Sending.php index 12cd6a20c8..34b83c92cb 100644 --- a/lib/Tasks/Sending.php +++ b/lib/Tasks/Sending.php @@ -15,6 +15,7 @@ use function MailPoet\Util\array_column; * @property string|null $status * @property int $task_id * @property int $id + * @property int $newsletter_id */ class Sending { const TASK_TYPE = 'sending';