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 --- app/Models/Log.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'app/Models/Log.php') diff --git a/app/Models/Log.php b/app/Models/Log.php index 96714d1c7..c3f4bb244 100644 --- a/app/Models/Log.php +++ b/app/Models/Log.php @@ -3,12 +3,10 @@ declare(strict_types=1); class FreshRSS_Log extends Minz_Model { - /** @var string */ - private $date; - /** @var string */ - private $level; - /** @var string */ - private $information; + + private string $date; + private string $level; + private string $information; public function date(): string { return $this->date; -- cgit v1.2.3