Skrol29 / tinybutstrong

TBS is a PHP template engine for pro and beginners. Only 1 class with few methods properties, but it can do may things for any text templates, including HTML and XML. The only engine that enables W3C compliant templates. It has many plugins including OpenTBS.
http://www.tinybutstrong.com
60 stars 18 forks source link

PHP doc variable types #26

Open science695 opened 2 years ago

science695 commented 2 years ago

Hello, Would you be interested in a pull request that adds some phpdoc comments to help modern IDEs trace the variable types and function return types?

I saw a pull request with thousands of lines of code, and I realize that is hard to process. But would a smaller request just adding in PHPDoc structures be useful?

If it is welcome, I would put some time into it. But I don't want to waste time if its not desired.

Example in clsTbsDataSource:

` /**

Thanks for the very useful library

Skrol29 commented 2 years ago

Hello,

Yes, such help would be very welcome.

I usually add PhpDoc comments sometimes when I operates some fixes.