aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Log.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-10-30 20:47:27 +0100
committerGravatar GitHub <noreply@github.com> 2023-10-30 20:47:27 +0100
commit06d00995049db9c7b915f67cfd4a5708aace458f (patch)
tree0176ca9761b34d72ffd597bd96da3c3ae4912d86 /app/Models/Log.php
parent4a02352ccc1b313ce967415c6ac10a32aba1893a (diff)
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
Diffstat (limited to 'app/Models/Log.php')
-rw-r--r--app/Models/Log.php10
1 files changed, 4 insertions, 6 deletions
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;