Permalink
Browse files

Merge pull request #4 from zamoose/master

Typecasting
  • Loading branch information...
2 parents 862ffa4 + d8d55f2 commit 17ec89a4b91857a0c807b76e47c3bafb05b09139 Gabriel Somoza committed Feb 22, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Kuler/Theme.php
View
6 Kuler/Theme.php
@@ -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 17ec89a

Please sign in to comment.