I have this code:
/**
* Days to parse
* @var int
*/
const DAYS_TO_PARSE = 10;
...
I don't think that using @var
is correct for a constant and I don't see any @constant
PHPDoc tag. What is the correct way to do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…