MyBB Community Forums

Full Version: Wrong Doc Blocks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There are several wrong doc blocks for functions. One example is the show_fields_from which returns an array and not a string. Also the "@param" block is often wrong:

http://manual.phpdoc.org/HTMLSmartyConve...m.pkg.html Wrote:@param datatype $var desc

But we often ignore the "$var" part which throws an error in several IDEs.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2026

Thanks for contributing to MyBB!

Regards,
The MyBB Group
Yep, this has annoyed me for a while. Fixing them all would take ages though, so I Usually change them as I work on other things.
Instead of discussing this on github and here we should use github after pushing the issue Toungue