1
我发现这个问题已被回答,但它并没有解决我的问题: Aptana Scriptdoc doesn't show up in Code Assist集锦3 ScriptDoc - @return没有代码工作,协助
使用PHP相当于他们为榜样的...
/**
* Gets the current foo
* @param {String} $fooId The unique identifier for the foo.
* @return {Object} Returns the current foo.
*/
public function getFoo($fooId) {
return $bar[$fooId];
}
然而,所提供的documenation看起来像这样(包括额外的结局大括号):
getFoo($fooId)
Gets the current foo
@param String $fooId The unique identifier for the foo.
@return Object}
Resolved return types: Object}
请让我知道我做错了。
谢谢!