summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/php_reflection.stub.php')
-rw-r--r--ext/reflection/php_reflection.stub.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php
index c27f971c07..e3d3fee52c 100644
--- a/ext/reflection/php_reflection.stub.php
+++ b/ext/reflection/php_reflection.stub.php
@@ -413,6 +413,8 @@ class ReflectionProperty implements Reflector
/** @return bool */
public function isDefault() {}
+ public function isPromoted(): bool {}
+
/** @return int */
public function getModifiers() {}
@@ -553,6 +555,8 @@ class ReflectionParameter implements Reflector
/** @return bool */
public function isVariadic() {}
+ public function isPromoted(): bool {}
+
/** @return ReflectionAttribute[] */
public function getAttributes(?string $name = null, int $flags = 0): array {}
}