mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
Switch class properties from PHP typing to PHPDoc for compatibility with PHP < 7.4.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user