From 984851c8acab95b633f4038111441db95e85230c Mon Sep 17 00:00:00 2001 From: pcmagas Date: Wed, 6 Nov 2024 18:02:35 +0200 Subject: [PATCH] Hotfixing missing array keys --- src/Responses/FineTuning/RetrieveJobResponseError.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Responses/FineTuning/RetrieveJobResponseError.php b/src/Responses/FineTuning/RetrieveJobResponseError.php index 239f9f7c..e1ff2ef1 100644 --- a/src/Responses/FineTuning/RetrieveJobResponseError.php +++ b/src/Responses/FineTuning/RetrieveJobResponseError.php @@ -31,9 +31,9 @@ private function __construct( public static function from(array $attributes): ?self { return new self( - $attributes['code'], - $attributes['param'], - $attributes['message'], + $attributes['code']??"", + $attributes['param']??null, + $attributes['message']??"", ); }