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 2cd9a9c commit d5f9092Copy full SHA for d5f9092
1 file changed
Classes/Domain/Model/Cart/AdditionalDataTrait.php
@@ -41,7 +41,7 @@ public function unsetAdditionals(): void
41
42
public function getAdditional(string $key): mixed
43
{
44
- return $this->additionals[$key];
+ return $this->additionals[$key] ?? null;
45
}
46
47
public function setAdditional(string $key, mixed $value): void
0 commit comments