diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-07 16:25:44 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-07 16:25:44 +0200 |
commit | ab73d142c98d2f9813fbe9ddf2c59f415c0692fc (patch) | |
tree | 8b38a74862bb063ad042827c6efef58fa2c91d9f /ext/reflection/php_reflection.stub.php | |
parent | 425c6f5815ea8ffbf5b73d684bd931551c200d26 (diff) | |
download | php-git-ab73d142c98d2f9813fbe9ddf2c59f415c0692fc.tar.gz |
Eliminate uses of _default_load_name()
Instead fetch the name from the function/class/property,
as appropriate. This makes us independent of the property,
and eliminates error conditions related to it.
Diffstat (limited to 'ext/reflection/php_reflection.stub.php')
-rw-r--r-- | ext/reflection/php_reflection.stub.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php index b96a4f65e9..1fc1442f0f 100644 --- a/ext/reflection/php_reflection.stub.php +++ b/ext/reflection/php_reflection.stub.php @@ -63,7 +63,7 @@ abstract class ReflectionFunctionAbstract implements Reflector /** @return string|false */ public function getName() {} - /** @return string|false */ + /** @return string */ public function getNamespaceName() {} /** @return int */ @@ -75,7 +75,7 @@ abstract class ReflectionFunctionAbstract implements Reflector /** @return ReflectionParameter[] */ public function getParameters() {} - /** @return string|false */ + /** @return string */ public function getShortName() {} /** @return int|false */ @@ -349,10 +349,10 @@ class ReflectionClass implements Reflector /** @return bool */ public function inNamespace() {} - /** @return string|false */ + /** @return string */ public function getNamespaceName() {} - /** @return string|false */ + /** @return string */ public function getShortName() {} } |