Skip to content

Commit 6b912f2

Browse files
committed
prevent PHP 8.4 deprecation for default null value without nullable type declaration
1 parent c26ecb6 commit 6b912f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Laravel/Features/ConsoleSchedulingIntegration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private function sendCheckIn(CheckIn $checkIn): void
212212
SentrySdk::getCurrentHub()->captureEvent($event);
213213
}
214214

215-
private function createCheckIn(string $slug, CheckInStatus $status, string $id = null): CheckIn
215+
private function createCheckIn(string $slug, CheckInStatus $status, ?string $id = null): CheckIn
216216
{
217217
$options = SentrySdk::getCurrentHub()->getClient()->getOptions();
218218

0 commit comments

Comments
 (0)