Skip to content

Commit 87d9c67

Browse files
committed
fix: corrects linting issue
1 parent 25f0491 commit 87d9c67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Messages/DTO/MessagePart.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,10 @@ public function toArray(): array
239239
} elseif ($this->functionResponse !== null) {
240240
$data['functionResponse'] = $this->functionResponse->toArray();
241241
} else {
242-
throw new RuntimeException('MessagePart requires one of: text, file, functionCall, or functionResponse. This should not be a possible condition.');
242+
throw new RuntimeException(
243+
'MessagePart requires one of: text, file, functionCall, or functionResponse. '
244+
. 'This should not be a possible condition.'
245+
);
243246
}
244247

245248
return $data;

0 commit comments

Comments
 (0)