This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Have a code: <?php /** * show off @method * * @method int borp() borp(int $int1, int $int2) multiply two integers */ class Magician { function __call($method, $params) { if ($method == 'borp') { if (count($params) == 2) { return $params[0] * $params[1]; }}}} $m = new Magician(); $m-> ?> The code completion item for magic method borp() doesn't display parameters.
This is probably issue of the php documentor parser in NB. It doesn't parse the parameters correctly.
*** Bug 170988 has been marked as a duplicate of this bug. ***
Needs to be created new class for @method tag, that will keep information about return types, parameters and name. Then integrate this class to the current indexing infrastructure to provide the information into the index.
Fixed in web-main: http://hg.netbeans.org/web-main/rev/a4d5806c9db6
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a4d5806c9db6 User: Ondrej Brejla <obrejla@netbeans.org> Log: #196714 - Code completion of magic method doesn't display parameters of magic methods
*** Bug 200004 has been marked as a duplicate of this bug. ***
*** Bug 201766 has been marked as a duplicate of this bug. ***