Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Typecasting.

  • Loading branch information...
commit d8d55f2368519100e11e15854f19ff387b41704a 1 parent 862ffa4
@zamoose authored
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;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.