tinybutstrong icon indicating copy to clipboard operation
tinybutstrong copied to clipboard

PHP doc variable types

Open science695 opened this issue 2 years ago • 1 comments

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:

` /**

  • @var object|string|array|resource|iterator|ArrayObject|IteratorAggregate|MySQLi|PDO|Zend_Db_Adapter_Abstract|SQLite3|SQLite3Stmt|SQLite3Result / public $SrcId = false; /*
  • @var object|string|array|resource|iterator|ArrayObject|IteratorAggregate|MySQLi|PDO|Zend_Db_Adapter_Abstract|SQLite3|SQLite3Stmt|SQLite3Result */ public $TBS = false; `

Thanks for the very useful library

science695 avatar May 20 '22 23:05 science695

Hello,

Yes, such help would be very welcome.

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

Skrol29 avatar May 22 '22 12:05 Skrol29