From 436fda01678d1732192493219cea23087dc28bcf Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 4 Mar 2015 21:06:56 -0500 Subject: Fix typos --- app/Model/Swimlane.php | 4 ++-- docs/api-json-rpc.markdown | 18 +++++++++--------- 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 } } ``` -- cgit v1.2.3