Skip to content

Commit 9a68152

Browse files
gen_stub: fix PropertyInfo::getString() version compatibility
I forgot a `$this->` in php#15751
1 parent 65d4331 commit 9a68152

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
@@ -3061,7 +3061,7 @@ private function getString(string $propName): array {
30613061
];
30623062
// If not set, use the current latest version
30633063
$allVersions = ALL_PHP_VERSION_IDS;
3064-
$minPhp = $phpVersionIdMinimumCompatibility ?? end($allVersions);
3064+
$minPhp = $this->phpVersionIdMinimumCompatibility ?? end($allVersions);
30653065
if ($minPhp < PHP_80_VERSION_ID) {
30663066
// No known strings in 7.0
30673067
return $result;

0 commit comments

Comments
 (0)