Doc #75678 [Com]: ReflectionType::getName() is undocumented

From: Date: Fri, 31 Jan 2020 10:07:47 +0000
Subject: Doc #75678 [Com]: ReflectionType::getName() is undocumented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17237@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75678&edit=1 ID: 75678 Comment by: Dawid at mentax dot pl Reported by: pavarnos at gmail dot com Summary: ReflectionType::getName() is undocumented Status: Closed Type: Documentation Problem Package: Reflection related Operating System: all PHP Version: 7.1.12 Assigned To: vrana Block user comment: N Private report: N New Comment: In php 7.4 Function ReflectionType::__toString() is deprecated So getName() should not be removed. Why this problem is not fixed until now? Previous Comments: ------------------------------------------------------------------------ [2018-01-29 22:03:54] vrana@php.net It's been removed. ------------------------------------------------------------------------ [2017-12-13 21:58:44] pavarnos at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=75678&edit=1

« previous php.doc.bugs (#17237) next »