We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b1a03 commit 7b194e3Copy full SHA for 7b194e3
1 file changed
Baggage/BaggageBuilder.php
@@ -22,6 +22,9 @@ public function remove(string $key): BaggageBuilderInterface
22
/** @inheritDoc */
23
public function set(string $key, $value, ?MetadataInterface $metadata = null): BaggageBuilderInterface
24
{
25
+ if ($key === '') {
26
+ return $this;
27
+ }
28
$metadata ??= Metadata::getEmpty();
29
30
$this->entries[$key] = new Entry($value, $metadata);
0 commit comments