diff --git a/src/Models/DeveloperLog.php b/src/Models/DeveloperLog.php index 6eef364..368aaff 100644 --- a/src/Models/DeveloperLog.php +++ b/src/Models/DeveloperLog.php @@ -71,7 +71,7 @@ public static function makeFromDevLog(DevLogDto $log): self ]); } - public static function makeFromException(Throwable $throwable, JsonSerializable $payload = null): self + public static function makeFromException(Throwable $throwable, ?JsonSerializable $payload = null): self { return new static([ 'uuid' => (string) Str::uuid(),