Doc #75678 [NEW]: ReflectionType::getName() is undocumented
| From: | pavarnos at gmail dot com | Date: | Wed, 13 Dec 2017 21:58:45 +0000 |
| Subject: | Doc #75678 [NEW]: ReflectionType::getName() is undocumented | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15284@lists.php.net to get a copy of this message | ||
From: pavarnos at gmail dot com
Operating system: all
PHP version: 7.1.12
Package: Reflection related
Bug Type: Documentation Problem
Bug description:ReflectionType::getName() is undocumented
Description:
------------
---
From manual page: http://www.php.net/class.reflectiontype
---
from the stub for ReflectionType in phpStorm
/**
* To string
* @link http://php.net/manual/en/reflectiontype.tostring.php
* @return string Returns the type of the parameter.
* @since 7.0
* @deprecated 7.1.0:8.0.0 Please use getName()
* @see \ReflectionType::getName()
*/
public function __toString()
{
}
/**
* Get type of the parameter.
* @return string Returns the type of the parameter.
* @since 7.1.0
*/
public function getName()
{
}
Expected result:
----------------
Should see a getName() function in the docs for the class
--
Edit bug report at https://bugs.php.net/bug.php?id=75678&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75678&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75678&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75678&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75678&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75678&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75678&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75678&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75678&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75678&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75678&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75678&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75678&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75678&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75678&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75678&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75678&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75678&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75678&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75678&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75678&r=mysqlcfg