summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Model/Swimlane.php4
-rw-r--r--docs/api-json-rpc.markdown18
2 files changed, 11 insertions, 11 deletions
diff --git a/app/Model/Swimlane.php b/app/Model/Swimlane.php
index c189c91f..8f417fca 100644
--- a/app/Model/Swimlane.php
+++ b/app/Model/Swimlane.php
@@ -79,8 +79,8 @@ class Swimlane extends Base
*
* @access public
* @param integer $project_id Project id
- * @param string $name Name
- * @return integer
+ * @param string $name Swimlane name
+ * @return array
*/
public function getByName($project_id, $name)
{
diff --git a/docs/api-json-rpc.markdown b/docs/api-json-rpc.markdown
index c2636cfd..dcf92ea8 100644
--- a/docs/api-json-rpc.markdown
+++ b/docs/api-json-rpc.markdown
@@ -1080,16 +1080,16 @@ Response example:
{
"id": "3",
"name": "Version 1.0",
- "is_active" : "0",
- "position" : 1,
- "project_id" : 2
+ "is_active": "0",
+ "position": 1,
+ "project_id": 2
},
{
"id": "2",
"name": "Version 7.0",
- "is_active" : "1"
- "position" : 2,
- "project_id" : 2
+ "is_active": "1",
+ "position": 2,
+ "project_id": 2
}
]
}
@@ -1127,9 +1127,9 @@ Response example:
"result": {
"id": "3",
"name": "Version 1.0",
- "is_active" : "0",
- "position" : 2,
- "project_id" : 2
+ "is_active": "0",
+ "position": 2,
+ "project_id": 2
}
}
```