diff --git a/src/Action/GetBalance.php b/src/Action/GetBalance.php index aee9dfeb..14abeb8b 100644 --- a/src/Action/GetBalance.php +++ b/src/Action/GetBalance.php @@ -1,5 +1,7 @@ $to) { throw new \InvalidArgumentException('From-date must be before to-date'); diff --git a/src/Action/GetStatementOfAccountXML.php b/src/Action/GetStatementOfAccountXML.php index 47b73dd1..6bc3c87a 100644 --- a/src/Action/GetStatementOfAccountXML.php +++ b/src/Action/GetStatementOfAccountXML.php @@ -1,5 +1,7 @@ $to) { throw new \InvalidArgumentException('From-date must be before to-date'); diff --git a/src/Action/SendInternationalCreditTransfer.php b/src/Action/SendInternationalCreditTransfer.php index b6ab9181..3030e7f5 100644 --- a/src/Action/SendInternationalCreditTransfer.php +++ b/src/Action/SendInternationalCreditTransfer.php @@ -1,5 +1,7 @@ .*?(?[0-9.]+).*?@s', $painMessage, $matches) === 1) { - $ctrlSum = $matches['ctrlsum']; + $ctrlSum = (float) $matches['ctrlsum']; } if (preg_match('@.*?.*?(?CORE|COR1|B2B).*?.*?@s', $painMessage, $matches) === 1) { diff --git a/src/Action/SendSEPARealtimeTransfer.php b/src/Action/SendSEPARealtimeTransfer.php index 6cbadaaf..7ef68958 100644 --- a/src/Action/SendSEPARealtimeTransfer.php +++ b/src/Action/SendSEPARealtimeTransfer.php @@ -1,5 +1,7 @@