We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96987f commit c2a9a42Copy full SHA for c2a9a42
src/Api/Repositories/Workspaces/Commit/Reports.php
@@ -38,17 +38,18 @@ public function list(array $params = [])
38
}
39
40
/**
41
- * @param array $params
+ * @param string $report
42
+ * @param array $params
43
*
44
* @throws \Http\Client\Exception
45
46
* @return array
47
*/
- public function create(array $params = [])
48
+ public function create(string $report, array $params = [])
49
{
- $uri = $this->buildReportsUri();
50
+ $uri = $this->buildReportsUri($report);
51
- return $this->post($uri, $params);
52
+ return $this->put($uri, $params);
53
54
55
0 commit comments