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.
2 parents b6f7f21 + 96af37a commit 6dfdb78Copy full SHA for 6dfdb78
lib/Github/Api/Issue/Milestones.php
@@ -13,7 +13,7 @@ class Milestones extends AbstractApi
13
{
14
public function all($username, $repository, array $params = array())
15
16
- if (isset($params['state']) && !in_array($params['state'], array('open', 'closed'))) {
+ if (isset($params['state']) && !in_array($params['state'], array('open', 'closed', 'all'))) {
17
$params['state'] = 'open';
18
}
19
if (isset($params['sort']) && !in_array($params['sort'], array('due_date', 'completeness'))) {
0 commit comments