Inline comments for PhpDoc
Hello!
I use to create the javadoc comments PhpStorm.
In the first step I write a function.
function myTestFunction(array $items, $string){
// inline comment 1
... bla ...
// inline comment 2
... blub ...
return $items;
}
In this function are inline comments.
When I have finished this function i create the javadoc block.
Is there a way to automatically create a javadoc block ?
Is there a way to create a javadoc block with the inline comments ?
For example:
/**
* inline comment 1
* inline comment 2
*
* @param $items array
* @param $string
* @return $items array
*/
Sorry for my bad English.
Yours sincerely,
Stephan
Please sign in to leave a comment.
Hi Stephan,
1) No, you cannot create PHPDoc comment from those inline comments.
2) Few ways how you can create PHPDoc comment block: