Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit b8e2e3e

Browse files
committed
Update README and Project Method
1 parent 679517a commit b8e2e3e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,12 @@ Get time totals for a tasklist
311311
$teamwork->tasklist($id)->timeTotal();
312312
```
313313

314+
Get tasklists associated with a project
315+
316+
```php
317+
$teamwork->project($id)->tasklists();
318+
```
319+
314320
#### Milestone
315321

316322
Get all milestones in Teamwork.

src/Rossedman/Teamwork/Project.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function milestones($args = null)
144144
*
145145
* @return [type] [description]
146146
*/
147-
public function tasklist($args = null)
147+
public function tasklists($args = null)
148148
{
149149
return $this->client->get("$this->endpoint/$this->id/tasklists", $args)->response();
150150
}

0 commit comments

Comments
 (0)