summaryrefslogtreecommitdiff
path: root/app/Api
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-20 15:31:26 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-20 15:31:26 -0500
commit0261c751cf539030f47756bc1ea1650123ed2312 (patch)
treef2a1f4d09b1b26f228b9fe055a8ebceb5f71ca75 /app/Api
parentfc468088c3b39bc4e9d185683442db1d36b61e23 (diff)
Fix cosmetic issues and update api documentation
Diffstat (limited to 'app/Api')
-rw-r--r--app/Api/File.php1
-rw-r--r--app/Api/Task.php12
2 files changed, 6 insertions, 7 deletions
diff --git a/app/Api/File.php b/app/Api/File.php
index e4204e6d..71c31c76 100644
--- a/app/Api/File.php
+++ b/app/Api/File.php
@@ -2,7 +2,6 @@
namespace Kanboard\Api;
-use Kanboard\Core\Base;
use Kanboard\Core\ObjectStorage\ObjectStorageException;
/**
diff --git a/app/Api/Task.php b/app/Api/Task.php
index f132bcd6..177a09c6 100644
--- a/app/Api/Task.php
+++ b/app/Api/Task.php
@@ -75,9 +75,9 @@ class Task extends Base
}
public function createTask($title, $project_id, $color_id = '', $column_id = 0, $owner_id = 0, $creator_id = 0,
- $date_due = '', $description = '', $category_id = 0, $score = 0, $swimlane_id = 0,
- $recurrence_status = 0, $recurrence_trigger = 0, $recurrence_factor = 0, $recurrence_timeframe = 0,
- $recurrence_basedate = 0, $reference = '')
+ $date_due = '', $description = '', $category_id = 0, $score = 0, $swimlane_id = 0,
+ $recurrence_status = 0, $recurrence_trigger = 0, $recurrence_factor = 0, $recurrence_timeframe = 0,
+ $recurrence_basedate = 0, $reference = '')
{
$this->checkProjectPermission($project_id);
@@ -115,9 +115,9 @@ class Task extends Base
}
public function updateTask($id, $title = null, $color_id = null, $owner_id = null,
- $date_due = null, $description = null, $category_id = null, $score = null,
- $recurrence_status = null, $recurrence_trigger = null, $recurrence_factor = null,
- $recurrence_timeframe = null, $recurrence_basedate = null, $reference = null)
+ $date_due = null, $description = null, $category_id = null, $score = null,
+ $recurrence_status = null, $recurrence_trigger = null, $recurrence_factor = null,
+ $recurrence_timeframe = null, $recurrence_basedate = null, $reference = null)
{
$this->checkTaskPermission($id);