Issue #2990280 by TR: [D7] Coding standards - comment #33. Fixed some @param, @return, @var and missing function commments. Also fixed some array wrapping.