Skip to content

Commit 3f20f02

Browse files
tanhongitgithub-actions[bot]
authored andcommitted
Fix styling
1 parent fc57167 commit 3f20f02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Services/NotificationService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private function sendNotification(string $event): void
5858
continue;
5959
}
6060

61-
empty($threads)
61+
empty($threads)
6262
? $this->sendToChat($chatId)
6363
: $this->sendToThreads($chatId, $threads);
6464
}
@@ -97,13 +97,13 @@ private function sendToThreads(string $chatId, array $threads): void
9797
private function isValidEvent(string $event): bool
9898
{
9999
$payload = $this->notifier->setPayload($this->request, $event);
100-
100+
101101
if (empty($payload) || !is_object($payload)) {
102102
return false;
103103
}
104104

105105
$validator = new Validator($this->setting, $this->notifier->event);
106-
106+
107107
return $validator->isAccessEvent(
108108
$this->notifier->event->platform,
109109
$event,

0 commit comments

Comments
 (0)