aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers
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/Controllers
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/Controllers')
-rw-r--r--app/Controllers/entryController.php3
-rw-r--r--app/Controllers/importExportController.php6
-rw-r--r--app/Controllers/tagController.php3
3 files changed, 4 insertions, 8 deletions
diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php
index 95ac9ee39..820075f27 100644
--- a/app/Controllers/entryController.php
+++ b/app/Controllers/entryController.php
@@ -7,9 +7,8 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController {
/**
* JavaScript request or not.
- * @var bool
*/
- private $ajax = false;
+ private bool $ajax = false;
/**
* This action is called before every other action in that class. It is
diff --git a/app/Controllers/importExportController.php b/app/Controllers/importExportController.php
index dc11a2a46..8f611bc78 100644
--- a/app/Controllers/importExportController.php
+++ b/app/Controllers/importExportController.php
@@ -5,11 +5,9 @@
*/
class FreshRSS_importExport_Controller extends FreshRSS_ActionController {
- /** @var FreshRSS_EntryDAO */
- private $entryDAO;
+ private FreshRSS_EntryDAO $entryDAO;
- /** @var FreshRSS_FeedDAO */
- private $feedDAO;
+ private FreshRSS_FeedDAO $feedDAO;
/**
* This action is called before every other action in that class. It is
diff --git a/app/Controllers/tagController.php b/app/Controllers/tagController.php
index 4536e3f13..1a7c81841 100644
--- a/app/Controllers/tagController.php
+++ b/app/Controllers/tagController.php
@@ -7,9 +7,8 @@ class FreshRSS_tag_Controller extends FreshRSS_ActionController {
/**
* JavaScript request or not.
- * @var bool|mixed
*/
- private $ajax = false;
+ private bool $ajax = false;
/**
* This action is called before every other action in that class. It is