Add some missing annotations

[MAILPOET-2429]
This commit is contained in:
Jan Jakeš
2019-10-17 09:21:33 +02:00
committed by Jack Kitterhing
parent 0092a54a77
commit 10a98031e8
4 changed files with 6 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ use MailPoet\WP\Functions as WPFunctions;
* @method $this whereRaw($clause, $parameters=array()) * @method $this whereRaw($clause, $parameters=array())
* @method static $this whereRaw($clause, $parameters=array()) * @method static $this whereRaw($clause, $parameters=array())
* @method $this deleteMany() * @method $this deleteMany()
* @method static $this deleteMany()
* @method $this orderByDesc($column_name) * @method $this orderByDesc($column_name)
* @method static $this orderByDesc($column_name) * @method static $this orderByDesc($column_name)
* @method $this orderByAsc($column_name) * @method $this orderByAsc($column_name)

View File

@@ -22,7 +22,7 @@ use function MailPoet\Util\array_column;
/** /**
* @property int $id * @property int $id
* @property string $type * @property string $type
* @property object|boolean $queue * @property object|array|boolean $queue
* @property string $hash * @property string $hash
* @property string $sender_address * @property string $sender_address
* @property string $status * @property string $status

View File

@@ -2,6 +2,9 @@
namespace MailPoet\Models; namespace MailPoet\Models;
/**
* @property string|null $sent_at
*/
class StatisticsNewsletters extends Model { class StatisticsNewsletters extends Model {
public static $_table = MP_STATISTICS_NEWSLETTERS_TABLE; public static $_table = MP_STATISTICS_NEWSLETTERS_TABLE;

View File

@@ -15,6 +15,7 @@ use function MailPoet\Util\array_column;
* @property string|null $status * @property string|null $status
* @property int $task_id * @property int $task_id
* @property int $id * @property int $id
* @property int $newsletter_id
*/ */
class Sending { class Sending {
const TASK_TYPE = 'sending'; const TASK_TYPE = 'sending';