Skip to content

Commit 69379ed

Browse files
Fix styling
1 parent e8bc585 commit 69379ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/IndexNow.php

-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ protected function logFailedAttempt(string|array $url): void
8080
'IndexNow: page submissions are only sent in production environments.',
8181
['url' => $url]
8282
);
83-
84-
8583
}
8684

8785
/**

tests/SubmitTest.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@
130130

131131
expect($response)->toBeFalse();
132132

133-
Log::assertLogged(fn (LogEntry $log) =>
133+
Log::assertLogged(
134+
fn (LogEntry $log) =>
134135
$log->level === 'info'
135136
&& $log->message === 'IndexNow: page submissions are only sent in production environments.'
136137
&& $log->context === ['url' => 'https://dejacht.nl']
@@ -151,7 +152,8 @@
151152

152153
expect($response)->toBeFalse();
153154

154-
Log::assertNotLogged(fn (LogEntry $log) =>
155+
Log::assertNotLogged(
156+
fn (LogEntry $log) =>
155157
$log->level === 'info'
156158
&& $log->message === 'IndexNow: page submissions are only sent in production environments.'
157159
&& $log->context === ['url' => 'https://dejacht.nl']

0 commit comments

Comments
 (0)