fix(tests): PHP 7.3 compatibility in UpgraderFamilyTest

Replace typed class properties with PHPDoc annotations so the test
file passes CI on PHP 7.3 (typed properties require 7.4+).
This commit is contained in:
Andy Miller
2026-04-13 19:17:05 +01:00
parent 13afaf6d72
commit 7d80ca9bdf

View File

@@ -10,8 +10,10 @@ use PHPUnit\Framework\TestCase;
*/
class TestableUpgrader extends Upgrader
{
private string $localVersion;
private string $remoteVersion;
/** @var string */
private $localVersion;
/** @var string */
private $remoteVersion;
public function __construct(string $local, string $remote)
{