summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorRaphaël Doursenaud <rdoursenaud@gpcsolutions.fr>2014-04-22 15:08:18 +0200
committerRaphaël Doursenaud <rdoursenaud@gpcsolutions.fr>2014-04-22 15:08:18 +0200
commitd156c47f0951cf681d16ed047f322e8332eb485e (patch)
tree1b97d1cb437fd7b2c0262640b7a70026e054413f /models
parent919e5d51a4cc4a2928cd34c8c575d4c003bb9a74 (diff)
Better documentation
These changes have been automatically suggested by scrutinizer-ci.com
Diffstat (limited to 'models')
-rw-r--r--models/acl.php2
-rw-r--r--models/base.php2
-rw-r--r--models/config.php2
-rw-r--r--models/ldap.php2
-rw-r--r--models/remember_me.php1
5 files changed, 4 insertions, 5 deletions
diff --git a/models/acl.php b/models/acl.php
index c8a39ee4..622aca9a 100644
--- a/models/acl.php
+++ b/models/acl.php
@@ -110,7 +110,7 @@ class Acl extends Base
* Get the connected user id
*
* @access public
- * @return bool
+ * @return integer
*/
public function getUserId()
{
diff --git a/models/base.php b/models/base.php
index 70a24321..7731b584 100644
--- a/models/base.php
+++ b/models/base.php
@@ -43,7 +43,7 @@ abstract class Base
*
* @access public
* @param PicoDb\Database $db Database instance
- * @param Core\Event $event Event dispatcher instance
+ * @param \Core\Event $event Event dispatcher instance
*/
public function __construct(\PicoDb\Database $db, \Core\Event $event)
{
diff --git a/models/config.php b/models/config.php
index 60764e64..d18b8ec5 100644
--- a/models/config.php
+++ b/models/config.php
@@ -60,7 +60,7 @@ class Config extends Base
*
* @access public
* @param string $name Parameter name
- * @param mixed $default_value Default value of the parameter
+ * @param string $default_value Default value of the parameter
* @return mixed
*/
public function get($name, $default_value = '')
diff --git a/models/ldap.php b/models/ldap.php
index 95401211..69fe9bec 100644
--- a/models/ldap.php
+++ b/models/ldap.php
@@ -18,7 +18,7 @@ class Ldap extends Base
* @access public
* @param string $username Username
* @param string $password Password
- * @return bool
+ * @return null|boolean
*/
public function authenticate($username, $password)
{
diff --git a/models/remember_me.php b/models/remember_me.php
index 2454cc95..be6b4e53 100644
--- a/models/remember_me.php
+++ b/models/remember_me.php
@@ -37,7 +37,6 @@ class RememberMe extends Base
* Get a remember me record
*
* @access public
- * @param integer $user_id User id
* @return mixed
*/
public function find($token, $sequence)