aboutsummaryrefslogtreecommitdiff
path: root/app/Services/ImportService.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/Services/ImportService.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/Services/ImportService.php')
-rw-r--r--app/Services/ImportService.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php
index b70627295..9b013fea4 100644
--- a/app/Services/ImportService.php
+++ b/app/Services/ImportService.php
@@ -4,14 +4,13 @@
* Provide methods to import files.
*/
class FreshRSS_Import_Service {
- /** @var FreshRSS_CategoryDAO */
- private $catDAO;
- /** @var FreshRSS_FeedDAO */
- private $feedDAO;
+ private FreshRSS_CategoryDAO $catDAO;
- /** @var bool true if success, false otherwise */
- private $lastStatus;
+ private FreshRSS_FeedDAO $feedDAO;
+
+ /** true if success, false otherwise */
+ private bool $lastStatus;
/**
* Initialize the service for the given user.