summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.stub.php
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-03-24 13:18:28 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-06-05 15:15:51 +0200
commit064b4644484d38e9dce40aef7e8e0e8190e9d863 (patch)
treeceb34fd4bc375ea0accdf3f8b1b15c389c7e103a /ext/reflection/php_reflection.stub.php
parent91f283a0bfc6792d84fb9a6361e21f6f33769c4d (diff)
downloadphp-git-064b4644484d38e9dce40aef7e8e0e8190e9d863.tar.gz
Implement "Constructor Promotion" RFC
RFC: https://wiki.php.net/rfc/constructor_promotion Closes GH-5291.
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 {}
}