From 06d00995049db9c7b915f67cfd4a5708aace458f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 30 Oct 2023 20:47:27 +0100 Subject: Require PHP 7.4+ (#5720) * Require PHP 7.4+ https://github.com/FreshRSS/FreshRSS/discussions/5474 * Update Docker oldest Alpine 3.13 with PHP 7.4.26 * Add missing packets to Docker oldest * Update to typed properties https://php.net/migration74.new-features#migration74.new-features.core.typed-properties * More types --- p/api/fever.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'p/api/fever.php') diff --git a/p/api/fever.php b/p/api/fever.php index fde4ba7f5..331a5a831 100644 --- a/p/api/fever.php +++ b/p/api/fever.php @@ -136,11 +136,9 @@ final class FeverAPI const STATUS_OK = 1; const STATUS_ERR = 0; - /** @var FreshRSS_EntryDAO */ - private $entryDAO; + private FreshRSS_EntryDAO $entryDAO; - /** @var FreshRSS_FeedDAO */ - private $feedDAO; + private FreshRSS_FeedDAO $feedDAO; /** * Authenticate the user -- cgit v1.2.3