Cleaned PHPDocs and generated files

This clears unneeded spaces when generating files, it cleans PHPDocs by simplifying their verbosity using use statements, and lastly fixes indentations.