restore `@param name [Type]` format and switch @attr to match