GNOME Bugzilla – Bug 735064
In PHP, the return type of a method is a namespace instead of the class
Last modified: 2018-07-30 10:09:33 UTC
`ClientInfo` is a class part of the `Info` namespace. The class method below returns a `ClientInfo` object, but the documentation generated by Doxygen returns `Info`, the namespace, instead `ClientInfo`. Code: /** * @brief Returns information about the client. * @return Info\ClientInfo */ public function getClientInfo() { return new Info\ClientInfo(); } Documentation: Returns Info instead of Returns ClientInfo
The problem here is that the '\ClientInfo' is seen as a doxygen command (and a warning message is issued). Replace the: Info\ClientInfo by Info::ClientInfo and the information should be correct. Have also a look at the bug_795953
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!