I use the above 3rd party code and the author refuses to provide/accept docblocks. Is there a way for me to inject docblocks myself via another PHP file perhaps?
Inject intellisense
- Edited
phptools thanks for the question,
yes, you can add the missing annotation into a separate file, i.e. mystubs.php
:
<?php
namespace <the correct namespace>;
class Component {
function columns(){}
}
fill in with the more specific annotations. They'll get "merged" with the original declaration.
thanks! let me try it!