mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
gen_stub: fix PropertyInfo::getString() version compatibility (#17779)
I forgot a `$this->` in #15751
This commit is contained in:
@@ -3071,7 +3071,7 @@ class PropertyInfo extends VariableLike
|
||||
];
|
||||
// If not set, use the current latest version
|
||||
$allVersions = ALL_PHP_VERSION_IDS;
|
||||
$minPhp = $phpVersionIdMinimumCompatibility ?? end($allVersions);
|
||||
$minPhp = $this->phpVersionIdMinimumCompatibility ?? end($allVersions);
|
||||
if ($minPhp < PHP_80_VERSION_ID) {
|
||||
// No known strings in 7.0
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user