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

Summary: @return and no return
Product: php Reporter: amobilia
Component: PHPDocAssignee: Tomas Mysik <tmysik>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: ENHANCEMENT Exception Reporter:

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