Skip to content

Commit

Permalink
Merge pull request #1941 from dturopoli/profiler-fix
Browse files Browse the repository at this point in the history
Profiler fix
  • Loading branch information
dpfaffenbauer authored Mar 29, 2022
2 parents 78a443a + 17abe25 commit 48f61e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(

public function getCurrency(): ?CurrencyInterface
{
return $this->data['currency'];
return $this->data['currency'] ?? null;
}

public function getCurrencies(): array
Expand Down

0 comments on commit 48f61e2

Please sign in to comment.