Skip to content

Commit f5c9f8b

Browse files
gen_stub: fix PropertyInfo::getString() version compatibility (#17779)
I forgot a `$this->` in #15751
1 parent 78d934a commit f5c9f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ private function getString(string $propName): array {
30713071
];
30723072
// If not set, use the current latest version
30733073
$allVersions = ALL_PHP_VERSION_IDS;
3074-
$minPhp = $phpVersionIdMinimumCompatibility ?? end($allVersions);
3074+
$minPhp = $this->phpVersionIdMinimumCompatibility ?? end($allVersions);
30753075
if ($minPhp < PHP_80_VERSION_ID) {
30763076
// No known strings in 7.0
30773077
return $result;

0 commit comments

Comments
 (0)