Typecasting #4

Merged
merged 1 commit into from Feb 22, 2012
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Split
View
@@ -66,21 +66,21 @@ public function __get($name) {
* Retrieves the theme's author's name
*/
public function getAuthorLabel(){
- return $this->_theme->themeAuthor->authorLabel;
+ return (string)$this->_theme->themeAuthor->authorLabel;
}
/**
* Retrieves the theme's author's Kuler ID
*/
public function getAuthorID(){
- return $this->_theme->themeAuthor->authorID;
+ return (int)$this->_theme->themeAuthor->authorID;
}
/**
* Retrieves the theme's title
*/
public function getTitle(){
- return $this->_theme->themeTitle;
+ return (string)$this->_theme->themeTitle;
}
/**