aboutsummaryrefslogtreecommitdiff
path: root/classes/Feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-03-26 17:11:56 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-03-26 17:11:56 +0000
commit435c321caaf3ae7aca936f175348d9efb40d6419 (patch)
treed64d45215fa331dca8c489e9b9fbbc9e04cb5eda /classes/Feeds.php
parentfea3089bde5b4abfdcc8b5a0314a7f82fcf25bea (diff)
parentde00a095387499cdb5c8eb9c0ab721d67bd0b3fa (diff)
Merge branch 'feature/php84-explicit-nullable-params' into 'master'
Make implicitly nullable parameters explicitly nullable. See merge request tt-rss/tt-rss!26
Diffstat (limited to 'classes/Feeds.php')
-rw-r--r--classes/Feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Feeds.php b/classes/Feeds.php
index 88128cc48..4d4ca3240 100644
--- a/classes/Feeds.php
+++ b/classes/Feeds.php
@@ -2127,7 +2127,7 @@ class Feeds extends Handler_Protected {
$cat->delete();
}
- static function _add_cat(string $title, int $owner_uid, int $parent_cat = null, int $order_id = 0): bool {
+ static function _add_cat(string $title, int $owner_uid, ?int $parent_cat = null, int $order_id = 0): bool {
$cat = ORM::for_table('ttrss_feed_categories')
->where('owner_uid', $owner_uid)