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 1b7873f commit 62076e5Copy full SHA for 62076e5
lib/Gitlab/Api/Projects.php
@@ -359,10 +359,19 @@ public function hook($project_id, $hook_id)
359
}
360
361
/**
362
+ * Get project issues.
363
+ *
364
+ * See https://docs.gitlab.com/ee/api/issues.html#list-project-issues for more info.
365
366
* @param int $project_id
- * @return mixed
367
+ * Project id.
368
+ * @param array $parameters
369
+ * Url parameters. For example: issue state (opened / closed).
370
371
+ * @return array
372
+ * List of project issues.
373
*/
- public function issues($project_id, $parameters = array())
374
+ public function issues($project_id, array $parameters = [])
375
{
376
return $this->get($this->getProjectPath($project_id, 'issues'), $parameters);
377
0 commit comments