Skip to content

Commit

Permalink
fix: contract
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuscs committed Jul 8, 2024
1 parent 0f2ea26 commit 83749c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Contracts/WalletContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Flavorly\Wallet\Contracts;

use Brick\Money\Money;
use Flavorly\LaravelHelpers\Helpers\Math\Math;
use Flavorly\Wallet\Models\Transaction;
use Flavorly\Wallet\Wallet;
use Illuminate\Database\Eloquent\Model;
Expand All @@ -28,7 +29,7 @@ public function transactions(): MorphMany;
/**
* Gets the balance attribute cached
*/
public function getBalanceAttribute(): string;
public function getBalanceAttribute(): Math;

/**
* Gets the balance attribute without cache
Expand Down

0 comments on commit 83749c4

Please sign in to comment.