Version: 1.5.5 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8 (4.0)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.18-5-686 In Umbrello a class is defined in which one of the methods has no return value. The PHP5 code generated from this method reads: /** * Does something * * @return * @access public */ public function myFunc( ) { } // end of member function myFunc Running this code through PhpDocumentor, version 1.4.1, results in the error message: ERROR in MyClass.php on line 68: "@return" tag was used without any parameters, illegal Expected code: /** * Does something * * @return void * @access public */ public function myFunc( ) { } // end of member function myFunc
Created attachment 30830 [details] add void if no return type is set Adds "void" behind the return comment element if no return type is given.
*** Bug 116110 has been marked as a duplicate of this bug. ***
SVN commit 1279522 by okellogg: Apply attachment 30830 [details] : Quoting comment #1, > Adds "void" behind the return comment element if no return type is > given. M +2 -1 ChangeLog M +7 -1 umbrello/codegenerators/php/php5writer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1279522
set version-fixed-in from 4.8.1 changelog