[Code Style]Clean up libraries/joomla/document
Merge pull request #4536 from roland-d/libraries_joomla_document_cs

[Code Style] Clean up libraries/joomla/document