summaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index fa12ceb66..9d9f880fd 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -160,7 +160,8 @@ class FreshRSS_Entry extends Minz_Model {
}
return $title;
}
- /** @deprecated */
+
+ #[Deprecated('Use authors() instead')]
public function author(): string {
return $this->authors(true);
}
@@ -540,7 +541,8 @@ HTML;
$this->hash = '';
$this->title = trim($value);
}
- /** @deprecated */
+
+ #[Deprecated('Use _authors() instead')]
public function _author(string $value): void {
$this->_authors($value);
}