summaryrefslogtreecommitdiff
path: root/classes/mailer.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-12 21:17:31 +0000
committerwn_ <[email protected]>2021-11-12 21:17:31 +0000
commitd3a81f598b24d6ae4f98415fac9509df6749eaf8 (patch)
tree79fcdaba8badc193595485c965e6150bcaaecd25 /classes/mailer.php
parent2c41bc7fbc9013e79e929a31e3824cf040afc54a (diff)
Switch class properties from PHP typing to PHPDoc for compatibility with PHP < 7.4.0
Diffstat (limited to 'classes/mailer.php')
-rw-r--r--classes/mailer.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/mailer.php b/classes/mailer.php
index 4eb13aec8..a0f232800 100644
--- a/classes/mailer.php
+++ b/classes/mailer.php
@@ -1,6 +1,8 @@
<?php
class Mailer {
- private string $last_error = "";
+ // TODO: class properties can be switched to PHP typing if/when the minimum PHP_VERSION is raised to 7.4.0+
+ /** @var string */
+ private $last_error = "";
/**
* @param array<string, mixed> $params