[gitignore] Add .idea/ to .gitignore (for PhpStorm IDE)
[improvement] Replace "return;" by "return null;" (more verbose even if it's the same returned value + when I do local testing between "return;" and "return null;", I noticed a very little gain: some milliseconds)
[phpdoc] fix phpdoc and reformat some code