Corrected trailing spaces in docBlock of GetMayorVersion

Updated existing docblock to be more inline with other depricated functions and added the deprecation version