From abcd0e8ba205aac8bd9006e99d783afc999af0af Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 23 Nov 2024 17:43:24 +0000 Subject: Use native union types in most places. --- classes/FeedItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/FeedItem.php') diff --git a/classes/FeedItem.php b/classes/FeedItem.php index fd7c54883..ac88ba0bc 100644 --- a/classes/FeedItem.php +++ b/classes/FeedItem.php @@ -3,7 +3,7 @@ abstract class FeedItem { abstract function get_id(): string; /** @return int|false a timestamp on success, false otherwise */ - abstract function get_date(); + abstract function get_date(): false|int; abstract function get_link(): string; abstract function get_title(): string; -- cgit v1.2.3-54-g00ecf