diff options
| author | 2023-10-30 20:47:27 +0100 | |
|---|---|---|
| committer | 2023-10-30 20:47:27 +0100 | |
| commit | 06d00995049db9c7b915f67cfd4a5708aace458f (patch) | |
| tree | 0176ca9761b34d72ffd597bd96da3c3ae4912d86 /app/Services/ExportService.php | |
| parent | 4a02352ccc1b313ce967415c6ac10a32aba1893a (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/ExportService.php')
| -rw-r--r-- | app/Services/ExportService.php | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php index d3a3373a5..80531f3fc 100644 --- a/app/Services/ExportService.php +++ b/app/Services/ExportService.php @@ -4,20 +4,16 @@ * Provide useful methods to generate files to export. */ class FreshRSS_Export_Service { - /** @var string */ - private $username; - /** @var FreshRSS_CategoryDAO */ - private $category_dao; + private string $username; - /** @var FreshRSS_FeedDAO */ - private $feed_dao; + private FreshRSS_CategoryDAO $category_dao; - /** @var FreshRSS_EntryDAO */ - private $entry_dao; + private FreshRSS_FeedDAO $feed_dao; - /** @var FreshRSS_TagDAO */ - private $tag_dao; + private FreshRSS_EntryDAO $entry_dao; + + private FreshRSS_TagDAO $tag_dao; public const FRSS_NAMESPACE = 'https://freshrss.org/opml'; public const TYPE_HTML_XPATH = 'HTML+XPath'; |
