summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.stub.php
diff options
context:
space:
mode:
authorMartin Schröder <m.schroeder2007@gmail.com>2020-06-28 19:16:33 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-29 10:45:51 +0200
commit053ef28b8d0c1e2af2cc5151cfe2bd4369ddde34 (patch)
tree54cebb4dfb10fae058a89f086f914ba93e16d254 /ext/reflection/php_reflection.stub.php
parent46e38a192751be02ff95d56fb0c6c18ec4d7d6df (diff)
downloadphp-git-053ef28b8d0c1e2af2cc5151cfe2bd4369ddde34.tar.gz
Implement Attribute Amendments.
RFC: https://wiki.php.net/rfc/attribute_amendments Support for attribute grouping is left out, because the short attribute syntax RFC will likely make it obsolete. Closes GH-5751.
Diffstat (limited to 'ext/reflection/php_reflection.stub.php')
-rw-r--r--ext/reflection/php_reflection.stub.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php
index 49872137a4..ea4f8bb2aa 100644
--- a/ext/reflection/php_reflection.stub.php
+++ b/ext/reflection/php_reflection.stub.php
@@ -670,6 +670,8 @@ final class ReflectionReference
final class ReflectionAttribute
{
public function getName(): string {}
+ public function getTarget(): int {}
+ public function isRepeated(): bool {}
public function getArguments(): array {}
public function newInstance(): object {}