Skip to content

Commit 37ebc2f

Browse files
Fixed code-style
1 parent d0562a8 commit 37ebc2f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/Services/GitHub.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ public function __construct(
3131
protected Factory $output,
3232
protected Client $github,
3333
protected ResultPager $paginator,
34-
) {
35-
}
34+
) {}
3635

3736
public function repositories(array $repositories): self
3837
{
@@ -76,7 +75,7 @@ public function markAll(): void
7675

7776
public function mark(): void
7877
{
79-
if (!$items = $this->paginated()) {
78+
if (! $items = $this->paginated()) {
8079
Output::success('No unread notifications');
8180

8281
return;
@@ -122,9 +121,9 @@ protected function notifications(): Notification
122121
protected function requestByType(NotificationData $notification): ?array
123122
{
124123
return match ($notification->type) {
125-
'Issue' => $this->issue($notification),
124+
'Issue' => $this->issue($notification),
126125
'PullRequest' => $this->pullRequest($notification),
127-
default => null
126+
default => null
128127
};
129128
}
130129

@@ -148,7 +147,7 @@ protected function pullRequest(NotificationData $notification): array
148147

149148
protected function shouldSkip(NotificationData $notification, ItemData $item): bool
150149
{
151-
if ($this->repositories && !Str::startsWith($notification->fullName, $this->repositories)) {
150+
if ($this->repositories && ! Str::startsWith($notification->fullName, $this->repositories)) {
152151
return true;
153152
}
154153

0 commit comments

Comments
 (0)