Skip to content

Commit 9bdec7f

Browse files
authored
Merge pull request #172 from mrevib/feature/SP-246
SP-246 - PHP Fatal error - fix
2 parents fc7e55f + 3481883 commit 9bdec7f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/BitPaySDK/Model/Invoice/Invoice.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ public function setLowFeeDetected($lowFeeDetected)
10151015
/**
10161016
* Gets invoiceTime - UNIX time of invoice creation, in milliseconds
10171017
*
1018-
* @return string
1018+
* @return int
10191019
*/
10201020
public function getInvoiceTime()
10211021
{
@@ -1025,7 +1025,7 @@ public function getInvoiceTime()
10251025
/**
10261026
* Sets invoiceTime - UNIX time of invoice creation, in milliseconds
10271027
*
1028-
* @param $invoiceTime
1028+
* @param int $invoiceTime
10291029
*/
10301030
public function setInvoiceTime($invoiceTime)
10311031
{
@@ -1105,7 +1105,7 @@ public function setTransactions($transactions)
11051105
* "paidPartial": (string) if the consumer did not send enough funds when paying the invoice.
11061106
* "paidOver": (string) if the consumer sent to much funds when paying the invoice.
11071107
*
1108-
* @return boolean|string
1108+
* @return boolean
11091109
*/
11101110
public function getExceptionStatus()
11111111
{
@@ -1121,7 +1121,7 @@ public function getExceptionStatus()
11211121
* "paidPartial": (string) if the consumer did not send enough funds when paying the invoice.
11221122
* "paidOver": (string) if the consumer sent to much funds when paying the invoice.
11231123
*
1124-
* @param boolean|string $exceptionStatus
1124+
* @param boolean $exceptionStatus
11251125
*/
11261126
public function setExceptionStatus($exceptionStatus)
11271127
{
@@ -1136,7 +1136,7 @@ public function setExceptionStatus($exceptionStatus)
11361136
* Currently, the value set is set to 6 by default for BTC/BCH/XRP,
11371137
* 40 for DOGE and 50 for ETH/GUSD/PAX/USDC/BUSD/DAI/WBTC
11381138
*
1139-
* @return numeric
1139+
* @return int
11401140
*/
11411141
public function getTargetConfirmations()
11421142
{
@@ -1150,8 +1150,8 @@ public function getTargetConfirmations()
11501150
* transaction which are required to credit a paid invoice to the merchant account.
11511151
* Currently, the value set is set to 6 by default for BTC/BCH/XRP,
11521152
* 40 for DOGE and 50 for ETH/GUSD/PAX/USDC/BUSD/DAI/WBTC
1153-
*
1154-
* @param numeric $targetConfirmations
1153+
*c
1154+
* @param int $targetConfirmations
11551155
*/
11561156
public function setTargetConfirmations($targetConfirmations)
11571157
{
@@ -1331,7 +1331,7 @@ public function getPaymentTotals()
13311331
*
13321332
* For internal use - This field can be ignored in merchant implementations.
13331333
*
1334-
* @param $paymentTotals
1334+
* @param object $paymentTotals
13351335
*/
13361336
public function setPaymentTotals($paymentTotals)
13371337
{
@@ -1355,7 +1355,7 @@ public function getPaymentSubTotals()
13551355
*
13561356
* For internal use. This field can be ignored in merchant implementations.
13571357
*
1358-
* @param $paymentSubtotals
1358+
* @param object $paymentSubtotals
13591359
*/
13601360
public function setPaymentSubTotals($paymentSubtotals)
13611361
{
@@ -1383,7 +1383,7 @@ public function getPaymentDisplaySubTotals()
13831383
* The key is the currency and the value is an amount indicated in the base unit
13841384
* for each supported transactionCurrency.
13851385
*
1386-
* @param $paymentDisplaySubtotals
1386+
* @param object $paymentDisplaySubtotals
13871387
*/
13881388
public function setPaymentDisplaySubTotals($paymentDisplaySubtotals)
13891389
{
@@ -1413,7 +1413,7 @@ public function getPaymentDisplayTotals()
14131413
* The key is the currency and the value is an amount
14141414
* indicated in the base unit for each supported transactionCurrency.
14151415
*
1416-
* @param $paymentDisplaytotals
1416+
* @param object $paymentDisplaytotals
14171417
*/
14181418
public function setPaymentDisplayTotals($paymentDisplaytotals)
14191419
{
@@ -1733,7 +1733,7 @@ public function getAmountPaid()
17331733
* The total amount paid to the invoice in terms of the invoice transactionCurrency indicated
17341734
* in the smallest possible unit for the corresponding transactionCurrency (e.g satoshis for BTC and BCH)
17351735
*
1736-
* @param number $amountPaid
1736+
* @param int $amountPaid
17371737
*/
17381738
public function setAmountPaid($amountPaid)
17391739
{
@@ -1785,7 +1785,7 @@ public function getExchangeRates()
17851785
*
17861786
* Exchange rates keyed by source and target currencies.
17871787
*
1788-
* @param $exchangeRates
1788+
* @param object $exchangeRates
17891789
*/
17901790
public function setExchangeRates($exchangeRates)
17911791
{

0 commit comments

Comments
 (0)