aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Mailer.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 /lib/Minz/Mailer.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 'lib/Minz/Mailer.php')
-rw-r--r--lib/Minz/Mailer.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Minz/Mailer.php b/lib/Minz/Mailer.php
index 7cf99a667..efdc9ea03 100644
--- a/lib/Minz/Mailer.php
+++ b/lib/Minz/Mailer.php
@@ -32,12 +32,10 @@ class Minz_Mailer {
*/
protected $view;
- /** @var string */
- private $mailer;
+ private string $mailer;
/** @var array{'hostname':string,'host':string,'auth':bool,'username':string,'password':string,'secure':string,'port':int,'from':string} */
- private $smtp_config;
- /** @var int */
- private $debug_level;
+ private array $smtp_config;
+ private int $debug_level;
/**
* Constructor.