Does using of PhpDoc improves performance of IDE

Does using of PhpDoc improves performance of IDE?

I mean, for example, does IDE try to analyze/find function return type even if function has PhpDoc with return type, or IDE just reads PhpDoc comment and don't analyze code?

1 comment

Hello,

In general: yes, in most cases using PHPDoc helps to improve the performance as indeed we bypass some code analysis and take values directly from the documentation comment.

Of course it really depends on a particular project, used code, comments et cetera but there are many cases where PHPDoc actually helps to get some things quicker.

0

Please sign in to leave a comment.