From 8651feb81b97a246953c0ec74c51a23a6c01384a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mi=C5=A1o=20=C4=8Cerve=C5=88=C3=A1k?= Date: Tue, 11 Jan 2022 18:04:47 +0100 Subject: [PATCH] Fix uninicialzate property --- src/Price/MultiCurrencyPrice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Price/MultiCurrencyPrice.php b/src/Price/MultiCurrencyPrice.php index 4f2e969..574121e 100644 --- a/src/Price/MultiCurrencyPrice.php +++ b/src/Price/MultiCurrencyPrice.php @@ -11,7 +11,7 @@ final class MultiCurrencyPrice use SmartObject; /** @var Price[] */ - private array $prices; + private array $prices = []; public function __construct(?array $prices = []) {