Total Complexity | 13 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Task |
||
14 | { |
||
15 | private $http; |
||
16 | |||
17 | public function __construct(Client $http) |
||
18 | { |
||
19 | $this->http = $http; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return TaskDto[] |
||
24 | */ |
||
25 | public function tasks(string $workspaceId, string $projectId, array $params = []): array |
||
50 | ); |
||
51 | } |
||
52 | |||
53 | public function create(string $workspaceId, string $projectId, TaskRequest $request): TaskDto |
||
60 |