diff --git a/lib/Github/ResultPager.php b/lib/Github/ResultPager.php index cfd1d605e4f..fd3558cc709 100644 --- a/lib/Github/ResultPager.php +++ b/lib/Github/ResultPager.php @@ -88,7 +88,7 @@ public function fetch(AbstractApi $api, string $method, array $parameters = []): $this->postFetch(true); - return $result; + return $result ? $result : []; } /**