doc fix of missing return datatype

doc fix of missing return datatype in function detectLanguage
Merge pull request #1444 from johnCourtier/patch-1

doc fix of missing return datatype