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