summaryrefslogtreecommitdiff
path: root/app/Model/ColumnModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-09 14:51:39 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-09 14:51:39 -0400
commit397988dd8ddeefa57da085c7cc5ac9231c33370b (patch)
treed4391bdcf5e026191cc4817cbb8d772be1c652cf /app/Model/ColumnModel.php
parent141939b703b4028fb85c04ba5d27445486eceb61 (diff)
Fix a couple of bugs in PR #2424
Diffstat (limited to 'app/Model/ColumnModel.php')
-rw-r--r--app/Model/ColumnModel.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/Model/ColumnModel.php b/app/Model/ColumnModel.php
index 0a9c55a8..5498ef54 100644
--- a/app/Model/ColumnModel.php
+++ b/app/Model/ColumnModel.php
@@ -138,11 +138,12 @@ class ColumnModel extends Base
* Add a new column to the board
*
* @access public
- * @param integer $project_id Project id
- * @param string $title Column title
- * @param integer $task_limit Task limit
- * @param string $description Column description
- * @return boolean|integer
+ * @param integer $project_id Project id
+ * @param string $title Column title
+ * @param integer $task_limit Task limit
+ * @param string $description Column description
+ * @param integer $hide_in_dashboard
+ * @return bool|int
*/
public function create($project_id, $title, $task_limit = 0, $description = '', $hide_in_dashboard = 0)
{
@@ -166,6 +167,7 @@ class ColumnModel extends Base
* @param string $title Column title
* @param integer $task_limit Task limit
* @param string $description Optional description
+ * @param integer $hide_in_dashboard
* @return boolean
*/
public function update($column_id, $title, $task_limit = 0, $description = '', $hide_in_dashboard = 0)