Answer the question
In order to leave comments, you need to log in
Phpstorm and code documentation
Installed Phpstorm 5.
Function description and parameter description are not shown in code completion (ctrl+space). But the name itself is added and the input arguments. In Netbeans, this styling of functions worked well. What's wrong with the design?
/**
* Моя функция
* @param int $user_id ID-пользователя
* @return bool
*/
function isLogged($user_id)
{
// тут много кода
return $result;
}
Answer the question
In order to leave comments, you need to log in
In the docblock lines two through five, you have no leading spaces. Those. should be:
/**
* Моя функция
* @param int $user_id ID-пользователя
* @return bool
*/
/**
* Моя функция
* @param int $user_id ID-пользователя
* @return bool
*/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question