We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d8040a commit 753df58Copy full SHA for 753df58
src/Utils.php
@@ -86,7 +86,7 @@ public static function createStream(mixed $content): StreamInterface
86
public static function createMultipartStream(array $content, string $boundary = null): MultipartStream
87
{
88
$stream = [];
89
- $boundary = $boundary ?: '--lexoffice';
+ $boundary = !is_null($boundary) && $boundary !== '' ? $boundary : '--lexoffice';
90
91
foreach ($content as $key => $value) {
92
$stream[] = [
0 commit comments