Method __toString not implemented for '\The'

Due to data type omission, when calling JRoute::_($url) I receive the noticed that: Method __toString not implemented for '\The'
* Specified the data type of the return value
* Fixed additional typos
Merge pull request #4469 from demis-palma/patch-5

Method __toString not implemented for '\The'