Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpDocumentor tab delimiter

Tags:

php

phpdoc

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


/**
 * @param string @some_var        Description
 */
  • There's a tab between @some_var and Description

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

like image 796
Stingus Avatar asked Feb 04 '26 04:02

Stingus


1 Answers

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.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!