diff options
| author | wn_ <invalid@email.com> | 2022-08-12 14:13:26 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2022-08-12 14:13:26 +0000 |
| commit | 93fd85df6f73732d3a6ed280d26224e1877c954f (patch) | |
| tree | 2b2a4fe2adb98d9e2a975b31069cca7bf66c4a04 /classes/mailer.php | |
| parent | ed2cbeffcc456a86726b52d37c977a35b895968c (diff) | |
Switch to direct type declarations of class properties.
Diffstat (limited to 'classes/mailer.php')
| -rw-r--r-- | classes/mailer.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/classes/mailer.php b/classes/mailer.php index 60b1ce4fd..76c9abf8e 100644 --- a/classes/mailer.php +++ b/classes/mailer.php @@ -1,8 +1,6 @@ <?php class Mailer { - // 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 = ""; + private string $last_error = ""; /** * @param array<string, mixed> $params |