Resolve #3418454 "Fix missing funcion doc comments"
This MR contains fixes PHPCS reports of type "Missing function doc comment". Other PHPCS errors have not been fixed to make review simpler. PHPCS is still reporting errors, but it should be safe to merge and fix other issues in later issues. Closes #3418454
Edited by James Shields