<?php
/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
/**
* @var Status
*/
- protected $last_status = true;
+ protected $last_status = null;
- public function __construct(string $id, array $accounts, bool $unread, \Friendica\Object\Api\Mastodon\Status $last_status)
+ public function __construct(string $id, array $accounts, bool $unread, Status $last_status = null)
{
$this->id = (string)$id;
$this->accounts = $accounts;