Skip to content

Commit

Permalink
Merge branch 'fix/style-fix' of github.com:SSEsmaeeli/laravel-pay-poc…
Browse files Browse the repository at this point in the history
…ket into fix/style-fix
  • Loading branch information
SSEsmaeeli committed Jan 14, 2024
2 parents 24fe14f + 3d9b8d5 commit 843d662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/BalanceOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ protected function generateReference(): string
$length = config('pay-pocket.log_reference_length');
$prefix = config('pay-pocket.log_reference_prefix');

if (!is_callable([$className, $methodName])) {
if (! is_callable([$className, $methodName])) {
throw new InvalidArgumentException('Invalid configuration: The combination of log_reference_generator_class and log_reference_generator_method is not callable.');
}

$reference = call_user_func([$className, $methodName], $length);

return $prefix . $reference;
return $prefix.$reference;
}
}

0 comments on commit 843d662

Please sign in to comment.