summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Action.php2
-rw-r--r--app/Model/Board.php2
-rw-r--r--app/Model/Category.php2
-rw-r--r--app/Model/Color.php1
-rw-r--r--app/Model/Config.php1
-rw-r--r--app/Model/Link.php2
-rw-r--r--app/Model/Metadata.php1
-rw-r--r--app/Model/NotificationType.php2
-rw-r--r--app/Model/PasswordReset.php2
-rw-r--r--app/Model/ProjectGroupRole.php2
-rw-r--r--app/Model/Setting.php1
-rw-r--r--app/Model/TaskDuplication.php1
-rw-r--r--app/Model/TaskPermission.php3
13 files changed, 14 insertions, 8 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php
index 4da2fb8f..f055d9d0 100644
--- a/app/Model/Action.php
+++ b/app/Model/Action.php
@@ -151,7 +151,7 @@ class Action extends Base
*
* @author Antonio Rabelo
* @param integer $src_project_id Source project id
- * @return integer $dst_project_id Destination project id
+ * @param integer $dst_project_id Destination project id
* @return boolean
*/
public function duplicate($src_project_id, $dst_project_id)
diff --git a/app/Model/Board.php b/app/Model/Board.php
index c10be19f..d41ecafe 100644
--- a/app/Model/Board.php
+++ b/app/Model/Board.php
@@ -77,7 +77,7 @@ class Board extends Base
*
* @author Antonio Rabelo
* @param integer $project_from Project Template
- * @return integer $project_to Project that receives the copy
+ * @param integer $project_to Project that receives the copy
* @return boolean
*/
public function duplicate($project_from, $project_to)
diff --git a/app/Model/Category.php b/app/Model/Category.php
index 6368f507..1d5f6546 100644
--- a/app/Model/Category.php
+++ b/app/Model/Category.php
@@ -191,7 +191,7 @@ class Category extends Base
*
* @author Antonio Rabelo
* @param integer $src_project_id Source project id
- * @return integer $dst_project_id Destination project id
+ * @param integer $dst_project_id Destination project id
* @return boolean
*/
public function duplicate($src_project_id, $dst_project_id)
diff --git a/app/Model/Color.php b/app/Model/Color.php
index 1b11f175..dee28643 100644
--- a/app/Model/Color.php
+++ b/app/Model/Color.php
@@ -141,6 +141,7 @@ class Color extends Base
* Get available colors
*
* @access public
+ * @param bool $prepend
* @return array
*/
public function getList($prepend = false)
diff --git a/app/Model/Config.php b/app/Model/Config.php
index 6f009175..7b254c8d 100644
--- a/app/Model/Config.php
+++ b/app/Model/Config.php
@@ -239,6 +239,7 @@ class Config extends Setting
* Prepare data before save
*
* @access public
+ * @param array $values
* @return array
*/
public function prepare(array $values)
diff --git a/app/Model/Link.php b/app/Model/Link.php
index 7b81a237..903a98d6 100644
--- a/app/Model/Link.php
+++ b/app/Model/Link.php
@@ -90,7 +90,7 @@ class Link extends Base
*
* @access public
* @param integer $exclude_id Exclude this link
- * @param booelan $prepend Prepend default value
+ * @param boolean $prepend Prepend default value
* @return array
*/
public function getList($exclude_id = 0, $prepend = true)
diff --git a/app/Model/Metadata.php b/app/Model/Metadata.php
index 690b2265..cb66c717 100644
--- a/app/Model/Metadata.php
+++ b/app/Model/Metadata.php
@@ -76,6 +76,7 @@ abstract class Metadata extends Base
* @access public
* @param integer $entity_id
* @param array $values
+ * @return boolean
*/
public function save($entity_id, array $values)
{
diff --git a/app/Model/NotificationType.php b/app/Model/NotificationType.php
index 9d8317b7..289aae9c 100644
--- a/app/Model/NotificationType.php
+++ b/app/Model/NotificationType.php
@@ -80,7 +80,7 @@ abstract class NotificationType extends Base
*
* @access public
* @param string $type
- * @return NotificationInterface
+ * @return \Kanboard\Notification\NotificationInterface
*/
public function getType($type)
{
diff --git a/app/Model/PasswordReset.php b/app/Model/PasswordReset.php
index c2d7dde9..5cfd3c97 100644
--- a/app/Model/PasswordReset.php
+++ b/app/Model/PasswordReset.php
@@ -20,7 +20,7 @@ class PasswordReset extends Base
/**
* Token duration (30 minutes)
*
- * @var string
+ * @var integer
*/
const DURATION = 1800;
diff --git a/app/Model/ProjectGroupRole.php b/app/Model/ProjectGroupRole.php
index 750ba7fb..afad4a44 100644
--- a/app/Model/ProjectGroupRole.php
+++ b/app/Model/ProjectGroupRole.php
@@ -166,7 +166,7 @@ class ProjectGroupRole extends Base
* Copy group access from a project to another one
*
* @param integer $project_src_id Project Template
- * @return integer $project_dst_id Project that receives the copy
+ * @param integer $project_dst_id Project that receives the copy
* @return boolean
*/
public function duplicate($project_src_id, $project_dst_id)
diff --git a/app/Model/Setting.php b/app/Model/Setting.php
index 44e6c065..6d29c6ec 100644
--- a/app/Model/Setting.php
+++ b/app/Model/Setting.php
@@ -75,6 +75,7 @@ abstract class Setting extends Base
*
* @access public
* @param array $values
+ * @return boolean
*/
public function save(array $values)
{
diff --git a/app/Model/TaskDuplication.php b/app/Model/TaskDuplication.php
index b081aac1..ebdd4d29 100644
--- a/app/Model/TaskDuplication.php
+++ b/app/Model/TaskDuplication.php
@@ -155,6 +155,7 @@ class TaskDuplication extends Base
*
* @access public
* @param array $values
+ * @return array
*/
public function checkDestinationProjectValues(array &$values)
{
diff --git a/app/Model/TaskPermission.php b/app/Model/TaskPermission.php
index fac2153e..b1e02589 100644
--- a/app/Model/TaskPermission.php
+++ b/app/Model/TaskPermission.php
@@ -18,7 +18,8 @@ class TaskPermission extends Base
* Regular users can't remove tasks from other people
*
* @public
- * @return boolean
+ * @param array $task
+ * @return bool
*/
public function canRemoveTask(array $task)
{