I have been documenting my methods in Netbeans like so:
/**
* Fetches a list of all the task ids that are dependent on the specified task being finished
* before they can be marked as available to work on.
* @param int $taskId - the id of the task we wish to fetch the dependency list for
* @return Array<int> $dependents - array list of tasks dependent on the specified task
* being completed.
*/
public function getDependencyList($taskId)
Now if I rename the variable $taskId within the method (with cntrl-r), then the documentation is automatically updated. Unfortunately, this is not the case with the @return property. Is there a way to enable this or am I simply generating my documentation incorrectly?