From 1a0465cb57818fd302da8bd7a27b9a78415d1804 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:47:41 -0400 Subject: Fix PhpAnalyzer issues --- app/Model/Currency.php | 4 +++- app/Model/Project.php | 4 ++-- app/Model/User.php | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'app/Model') diff --git a/app/Model/Currency.php b/app/Model/Currency.php index bc423337..6ae842e7 100644 --- a/app/Model/Currency.php +++ b/app/Model/Currency.php @@ -35,7 +35,9 @@ class Currency extends Base * Calculate the price for the reference currency * * @access public - * @return array + * @param string $currency + * @param double $price + * @return double */ public function getPrice($currency, $price) { diff --git a/app/Model/Project.php b/app/Model/Project.php index 80e17437..71c660b9 100644 --- a/app/Model/Project.php +++ b/app/Model/Project.php @@ -64,7 +64,7 @@ class Project extends Base * * @access public * @param string $identifier - * @return array + * @return array|boolean */ public function getByIdentifier($identifier) { @@ -80,7 +80,7 @@ class Project extends Base * * @access public * @param string $token Token - * @return array + * @return array|boolean */ public function getByToken($token) { diff --git a/app/Model/User.php b/app/Model/User.php index 845efac0..83cf065b 100644 --- a/app/Model/User.php +++ b/app/Model/User.php @@ -111,7 +111,7 @@ class User extends Base * * @access public * @param string $google_id Google unique id - * @return array + * @return array|boolean */ public function getByGoogleId($google_id) { @@ -127,7 +127,7 @@ class User extends Base * * @access public * @param string $github_id GitHub user id - * @return array + * @return array|boolean */ public function getByGitHubId($github_id) { @@ -155,7 +155,7 @@ class User extends Base * * @access public * @param string $email Email - * @return array + * @return array|boolean */ public function getByEmail($email) { @@ -171,7 +171,7 @@ class User extends Base * * @access public * @param string $token Token - * @return array + * @return array|boolean */ public function getByToken($token) { -- cgit v1.2.3