diff --git a/src/Traits/BalanceOperation.php b/src/Traits/BalanceOperation.php index adc3783..abbd4a5 100644 --- a/src/Traits/BalanceOperation.php +++ b/src/Traits/BalanceOperation.php @@ -44,7 +44,7 @@ protected function createLog($logType, $value, $notes = null): void $newBalance = $logType === 'dec' ? $currentBalance - $value : $currentBalance + $value; $refGen = config('pay-pocket.log_reference_generator', [ - Str::class, 'random', [config('pay-pocket.log_reference_length', 12)] + Str::class, 'random', [config('pay-pocket.log_reference_length', 12)], ]); $reference = config('pay-pocket.reference_string_prefix', ''); $reference .= isset($refGen[0], $refGen[1])