Skip to content

Commit 05fe54a

Browse files
Fix PHP 8.4 deprecation by making constructor parameters explicitly nullable (#6)
1 parent 9a421b9 commit 05fe54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/SendEventToAnalytics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SendEventToAnalytics implements ShouldQueue
2222

2323
public ?string $sessionId;
2424

25-
public function __construct($event, string $clientId = null, string $userId = null, string $sessionId = null)
25+
public function __construct($event, ?string $clientId = null, ?string $userId = null, ?string $sessionId = null)
2626
{
2727
$this->event = $event;
2828
$this->clientId = $clientId;

0 commit comments

Comments
 (0)