Skip to content

Multiline annotation for class constants fails to add subsequent lines #320

@davidsneighbour

Description

@davidsneighbour

I have constants in classes documented as the following sample:

/**
 * @constant Invoice is solved - meaning invoice is paid and all related bookings are set to solved
 */
const STATUS_SOLVED = 900;

This parses correct. But when I cut the string in two lines (so it's below 80 characters per line) the second and subsequent lines are ignored in the resulting documentation file.

/**
 * @constant Invoice is solved - meaning invoice is paid and all related 
 *            bookings are set to solved
 */
const STATUS_SOLVED = 900;

Are there any rules that constants have to be documented in one single line?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions