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.
Product Version = NetBeans IDE 8.0.1 (Build 201408251540) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.8.0_20 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23 The PHP code-completion misinterprets the first word of the a multi-line description parameter of the @return tag. In the following code: [code] /** * @return integer * Indicates the number of items. */ function count() { <...> } [/code] The type-hinting for count() shows: type: integer Indicates description: the number of items Note that the first word of the description is in the "type" field instead of in the "description" field. This bug only seems to arise for multi-line descriptions and not for single-line descriptions. Thus, in the following code: [code] /** * @return integer Indicates the number of items. */ function count() { <...> } [/code] The type-hinting for count() shows: type: integer description: Indicates the number of items According to phpDocumentor (http://www.phpdoc.org/docs/latest/references/phpdoc/tags/return.html): "The @return tag MAY have a multi-line description and does not need explicit delimiting." With regards, Martijn
Created attachment 149806 [details] IDE log
reproducible Product Version: NetBeans IDE Dev (Build 201410190001) Updates: Updates available Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)