Skip to content

Commit 753df58

Browse files
committed
fix RiskyTruthyFalsyComparison
1 parent 3d8040a commit 753df58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static function createStream(mixed $content): StreamInterface
8686
public static function createMultipartStream(array $content, string $boundary = null): MultipartStream
8787
{
8888
$stream = [];
89-
$boundary = $boundary ?: '--lexoffice';
89+
$boundary = !is_null($boundary) && $boundary !== '' ? $boundary : '--lexoffice';
9090

9191
foreach ($content as $key => $value) {
9292
$stream[] = [

0 commit comments

Comments
 (0)