]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Api/Mastodon/Conversation.php
Correct format/style errors
[friendica.git] / src / Object / Api / Mastodon / Conversation.php
index e0950e555e7a72acacc8e20c3eedef2015275b82..453783235cb06ae541e4dd81f1e8cbb9609c4728 100644 (file)
@@ -1,6 +1,6 @@
 <?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
  *
@@ -42,9 +42,9 @@ class Conversation extends BaseDataTransferObject
        /**
         * @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;