Skip to content

Commit b0e83aa

Browse files
committed
Declare the missing ReflectionMethod::$name property
1 parent e8c65d7 commit b0e83aa

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ext/reflection/php_reflection.stub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ class ReflectionMethod extends ReflectionFunctionAbstract
180180
/** @cvalue ZEND_ACC_FINAL */
181181
public const int IS_FINAL = UNKNOWN;
182182

183+
public string $name;
183184
public string $class;
184185

185186
public function __construct(object|string $objectOrMethod, ?string $method = null) {}

ext/reflection/php_reflection_arginfo.h

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)