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.

Bug 268180 - @return and no return
Summary: @return and no return
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: PHPDoc (show other bugs)
Version: Dev
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-24 00:45 UTC by amobilia
Modified: 2016-09-24 00:45 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amobilia 2016-09-24 00:45:21 UTC
No error are shown for the following code :
-----
	/**
	 * test
	 * @return type Description
	 */
	function test() {
		
	}
-----

The phpdoc have a @return information, but there isn't any return inside the function.

A lint warning could be great