Stingus
Stingus

Reputation: 358

phpDocumentor tab delimiter

Pretty simple one: is it ok to use tabs inside phpDocumentor tags? Like:


/**
 * @param string @some_var        Description
 */

Didn't find anything against tabs (except list declaration), but I just want to make sure.

Upvotes: 3

Views: 175

Answers (1)

kittycat
kittycat

Reputation: 15045

It appears at one point there was an issue with it using tabs but it has since been fixed almost a year ago. So yes, you are safe to use tabs as the regex used to match them will account for them.

Upvotes: 2

Related Questions