Skip to content

Commit

Permalink
fix RiskyTruthyFalsyComparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed May 21, 2024
1 parent 3d8040a commit 753df58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static function createStream(mixed $content): StreamInterface
public static function createMultipartStream(array $content, string $boundary = null): MultipartStream
{
$stream = [];
$boundary = $boundary ?: '--lexoffice';
$boundary = !is_null($boundary) && $boundary !== '' ? $boundary : '--lexoffice';

foreach ($content as $key => $value) {
$stream[] = [
Expand Down

0 comments on commit 753df58

Please sign in to comment.