diff options
| author | 2023-10-30 20:47:27 +0100 | |
|---|---|---|
| committer | 2023-10-30 20:47:27 +0100 | |
| commit | 06d00995049db9c7b915f67cfd4a5708aace458f (patch) | |
| tree | 0176ca9761b34d72ffd597bd96da3c3ae4912d86 /lib/Minz/Migrator.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 'lib/Minz/Migrator.php')
| -rw-r--r-- | lib/Minz/Migrator.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Minz/Migrator.php b/lib/Minz/Migrator.php index 9508c0635..91a4e6cb1 100644 --- a/lib/Minz/Migrator.php +++ b/lib/Minz/Migrator.php @@ -9,11 +9,11 @@ */ class Minz_Migrator { - /** @var string[] */ - private $applied_versions; + /** @var array<string> */ + private array $applied_versions; /** @var array<callable> */ - private $migrations = []; + private array $migrations = []; /** * Execute a list of migrations, skipping versions indicated in a file |
