| @@ 35-44 (lines=10) @@ | ||
| 32 | /** |
|
| 33 | * @return array|mixed |
|
| 34 | */ |
|
| 35 | public function fetchAllMilestones() |
|
| 36 | { |
|
| 37 | $parameters = [ |
|
| 38 | $this->githubRepo->getOwner(), |
|
| 39 | $this->githubRepo->getName(), |
|
| 40 | ['state' => 'all'], |
|
| 41 | ]; |
|
| 42 | ||
| 43 | return $this->paginator->fetchAll($this->getMilestonesApi(), 'all', $parameters); |
|
| 44 | } |
|
| 45 | ||
| 46 | /** |
|
| 47 | * @return array|mixed |
|
| @@ 49-58 (lines=10) @@ | ||
| 46 | /** |
|
| 47 | * @return array|mixed |
|
| 48 | */ |
|
| 49 | public function fetchAllIssues() |
|
| 50 | { |
|
| 51 | $parameters = [ |
|
| 52 | $this->githubRepo->getOwner(), |
|
| 53 | $this->githubRepo->getName(), |
|
| 54 | ['state' => 'all'], |
|
| 55 | ]; |
|
| 56 | ||
| 57 | return $this->paginator->fetchAll($this->getIssueApi(), 'all', $parameters); |
|
| 58 | } |
|
| 59 | ||
| 60 | /** |
|
| 61 | * @return \Github\Api\ApiInterface |
|