Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP doc variable types #26

Open
science695 opened this issue May 20, 2022 · 1 comment
Open

PHP doc variable types #26

science695 opened this issue May 20, 2022 · 1 comment

Comments

@science695
Copy link

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

@Skrol29
Copy link
Owner

Skrol29 commented May 22, 2022

Hello,

Yes, such help would be very welcome.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants