1
0
mirror of synced 2024-11-21 20:46:03 +03:00

fix type string VatReceiptRequest.sum

This commit is contained in:
Alexey Chelnakov 2018-08-06 17:15:42 +03:00
parent becb2f5d11
commit 6feaaf3fa6

View File

@ -39,10 +39,10 @@ class VatReceiptRequest
* @param string $type
* @param float $sum
*/
public function __construct(string $type, string $sum)
public function __construct(string $type, $sum)
{
$this->type = $type;
$this->sum = $sum;
$this->sum = (float) $sum;
}
/**
@ -56,7 +56,7 @@ class VatReceiptRequest
/**
* @return float
*/
public function getSum(): string
public function getSum()
{
return $this->sum;
}