Hello reader! When writing code I often encounter myself wanting to add these nice "PhpDocs" (Are they called like that?): But I'm a really lazy person and while writing code I never know the exact syntax of them, so I'd like to ask you if you know a way to automatically add the multi line comment and the @return and @param values to my existing or new functions. I tried to use the phar file I've downloaded from https://www.phpdoc.org/ together with NetBeans built in feature, but it seems like it doesn't create PhpDocs inside my code, instead it creates a folder with files which I could use for a website (which isn't what I'm looking for). Please note that I do not use PhpStorm, but NetBeans because it's free use to use for everyone and that I'm currently not planning to switch. I'm thankful for every helping post!
I'm sorry if this sounds like a stupid question, but until now I'm very unfamiliar with that and I'd like to develop the habit of including these in my code, so please feel free to explain me even more about this topic. I also didn't want to ask somewhere else because I feel the most comfortable on the pmmp forums.
Take a look at this: https://pear.php.net/manual/en/standards.sample.php, to automatically create the comment block, it would depend on your IDE if it has that feature