From 9a6815243341c7def17d8d7ebec37fcb70714d28 Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Wed, 12 Feb 2025 18:16:02 -0800 Subject: [PATCH] gen_stub: fix `PropertyInfo::getString()` version compatibility I forgot a `$this->` in #15751 --- build/gen_stub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/gen_stub.php b/build/gen_stub.php index 679f8a9824179..8038a098cfee9 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -3061,7 +3061,7 @@ private function getString(string $propName): array { ]; // 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;