Doc #78785 [Opn->Fbk]: ReflectionType::getName() is undocumented

From: Date: Tue, 05 Nov 2019 23:42:48 +0000
Subject: Doc #78785 [Opn->Fbk]: ReflectionType::getName() is undocumented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17046@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78785&edit=1 ID: 78785 Updated by: requinix@php.net Reported by: eric at ericstern dot com Summary: ReflectionType::getName() is undocumented -Status: Open +Status: Feedback Type: Documentation Problem -Package: Unknown/Other Function +Package: Reflection related Operating System: n/a PHP Version: Irrelevant Block user comment: N Private report: N New Comment: I don't see anything to suggest ReflectionType::getName() exists. Are you thinking of ReflectionNamedType::getName()? https://www.php.net/manual/en/reflectionnamedtype.getname.php Previous Comments: ------------------------------------------------------------------------ [2019-11-05 23:35:13] eric at ericstern dot com Description: ------------ --- From manual page: https://php.net/class.reflectiontype --- As of 7.1.0, ReflectionType::__toString() has been deprecated. There appears to be a getName() method which functions as a replacement, but it is both completely undocumented and not even visible by use of the reflection APIs. The getName() method either should be documented (another bug suggests it was intentionally removed), or a suitable equivalent should be exposed and documented. As it is, the ReflectionType class is completely useless without having some way to access the type it represents. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78785&edit=1

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