Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
SSEsmaeeli committed Jan 14, 2024
1 parent 2e3e7b9 commit 24fe14f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Traits/BalanceOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ protected function createLog(string $logType, int|float $value, ?string $notes =

$newBalance = $logType === 'dec' ? $currentBalance - $value : $currentBalance + $value;

/** @var \Illuminate\Database\Eloquent\Model $this */
$this->createdLog = $this->logs()->create([
'wallet_name' => $this->type->value,
'from' => $currentBalance,
Expand Down

0 comments on commit 24fe14f

Please sign in to comment.