From f5c9f8bcd3887f42a5d4d5bbb5dac67ef888c950 Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Thu, 13 Feb 2025 23:30:28 -0800 Subject: [PATCH] gen_stub: fix `PropertyInfo::getString()` version compatibility (#17779) 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 4205360d9a6..be524edd5d4 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -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;