fix: QRCodePaymentIdentification - default values

This commit is contained in:
Ondrej Vlach 2024-01-18 14:23:30 +01:00
parent beb7b06bf4
commit 0bc7f2e9bc
Signed by: ovlach
GPG Key ID: 4FF1A23B4914DE70

View File

@ -13,17 +13,17 @@ class QRCodePaymentIdentification {
#[BankPaymentIdentificationNumber(
message: 'messages.not_variable_symbol',
)]
private ?string $variableSymbol;
private ?string $variableSymbol = null;
#[BankPaymentIdentificationNumber(
message: 'messages.not_specific_symbol',
)]
private ?string $specificSymbol;
private ?string $specificSymbol = null;
#[BankPaymentIdentificationNumber(
message: 'messages.not_constant_symbol',
)] // https://www.hyponamiru.cz/en/glossary/constant-symbol/
private ?string $constantSymbol;
private ?string $constantSymbol = null;
public function getVariableSymbol(): ?string
{