Skip to content

Commit 75bc75c

Browse files
committed
fux Transaction.php
1 parent 52f954f commit 75bc75c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Models/Transaction.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ public function wallet(): BelongsTo
9797
}
9898

9999
/**
100-
* @return float
100+
* @return int|float
101101
*/
102-
public function getAmountFloatAttribute(): float
102+
public function getAmountFloatAttribute()
103103
{
104104
$decimalPlaces = app(WalletService::class)
105105
->decimalPlaces($this->wallet);
@@ -109,10 +109,10 @@ public function getAmountFloatAttribute(): float
109109
}
110110

111111
/**
112-
* @param float $amount
113-
* @return float
112+
* @param int|float $amount
113+
* @return void
114114
*/
115-
public function setAmountFloatAttribute(float $amount): void
115+
public function setAmountFloatAttribute($amount): void
116116
{
117117
$math = app(Mathable::class);
118118
$decimalPlaces = app(WalletService::class)

0 commit comments

Comments
 (0)