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 793a374 commit 4cb66feCopy full SHA for 4cb66fe
src/stats.php
@@ -198,6 +198,9 @@ function getContributionDates(array $contributionGraphs): array
198
if (!empty($graph->errors)) {
199
throw new AssertionError($graph->data->errors[0]->message, 502);
200
}
201
+ if (empty($graph)) {
202
+ continue;
203
+ }
204
$weeks = $graph->data->user->contributionsCollection->contributionCalendar->weeks;
205
foreach ($weeks as $week) {
206
foreach ($week->contributionDays as $day) {
0 commit comments