Skip to content

Commit 984851c

Browse files
committed
Hotfixing missing array keys
1 parent cab6bbe commit 984851c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Responses/FineTuning/RetrieveJobResponseError.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ private function __construct(
3131
public static function from(array $attributes): ?self
3232
{
3333
return new self(
34-
$attributes['code'],
35-
$attributes['param'],
36-
$attributes['message'],
34+
$attributes['code']??"",
35+
$attributes['param']??null,
36+
$attributes['message']??"",
3737
);
3838
}
3939

0 commit comments

Comments
 (0)