aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index c0fce6e4a..6c840942b 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -125,10 +125,7 @@ class FreshRSS_Feed extends Minz_Model {
return $this->hubUrl;
}
- /**
- * @return FreshRSS_Category|null|false
- */
- public function category() {
+ public function category(): ?FreshRSS_Category {
if ($this->category === null) {
$catDAO = FreshRSS_Factory::createCategoryDao();
$this->category = $catDAO->searchById($this->categoryId);