Skip to content

Commit 94fd406

Browse files
authored
Adding null typing to solve php 8.4 deprecation in Event class (#309)
1 parent 43e0131 commit 94fd406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static function quickCreate(string $text)
8080
return $event->quickSave($text);
8181
}
8282

83-
public static function get(?CarbonInterface $startDateTime = null, ?CarbonInterface $endDateTime = null, array $queryParameters = [], string $calendarId = null): Collection
83+
public static function get(?CarbonInterface $startDateTime = null, ?CarbonInterface $endDateTime = null, array $queryParameters = [], ?string $calendarId = null): Collection
8484
{
8585
$googleCalendar = static::getGoogleCalendar($calendarId);
8686

0 commit comments

Comments
 (0)