From 3430f44570a1375eb5b93d93fd15bf5ff91bbe5d Mon Sep 17 00:00:00 2001 From: gabrielpetrescu Date: Tue, 23 Dec 2025 16:18:03 +0200 Subject: [PATCH] fix: Fix DeveloperLog makeFromException - deprecated for php 8.4 --- src/Models/DeveloperLog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),