diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-04 21:06:56 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-04 21:06:56 -0500 |
commit | 436fda01678d1732192493219cea23087dc28bcf (patch) | |
tree | 812747003cc7986cd50d98f6d0ab5ec848be253e | |
parent | efbcc22f5af2e9b5d241a9cee0dded48353cb91e (diff) |
Fix typos
-rw-r--r-- | app/Model/Swimlane.php | 4 | ||||
-rw-r--r-- | 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 } } ``` |