E.g. if phan sees that a function is passed string for $x in one place, true in another, and no param comment exists for that index already. Similar for return types.
Add the following line to the phpdoc of the method in the appropriate place (with heuristics or so on). Create a phpdoc block if it doesn't already exist.
E.g. if phan sees that a function is passed
string
for $x in one place,true
in another, and no param comment exists for that index already. Similar for return types.Add the following line to the phpdoc of the method in the appropriate place (with heuristics or so on). Create a phpdoc block if it doesn't already exist.
A plugin may help
` @param string|bool $x