After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735064 - In PHP, the return type of a method is a namespace instead of the class
In PHP, the return type of a method is a namespace instead of the class
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: build
1.8.7
Other Mac OS
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2014-08-19 16:54 UTC by dedalo
Modified: 2018-07-30 10:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description dedalo 2014-08-19 16:54:20 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
Comment 1 albert 2018-05-09 18:03:13 UTC
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
Comment 2 André Klapper 2018-07-30 10:09:33 UTC
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!