Permalink
Browse files

Typecasting.

  • Loading branch information...
1 parent 862ffa4 commit d8d55f2368519100e11e15854f19ff387b41704a @zamoose committed Feb 22, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Kuler/Theme.php
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;
}
/**

0 comments on commit d8d55f2

Please sign in to comment.