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 fb1b483 commit c974575Copy full SHA for c974575
src/Subscriber/StatusChangeByReviewSubscriber.php
@@ -40,7 +40,7 @@ public function onReview(GitHubEvent $event): void
40
$newStatus = match (strtolower($data['review']['state'])) {
41
'approved' => Status::REVIEWED,
42
'changes_requested' => Status::NEEDS_WORK,
43
- default => $this->parseStatusFromText($data['review']['body']),
+ default => $this->parseStatusFromText($data['review']['body'] ?? ''),
44
};
45
46
if (
0 commit comments