Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SSEsmaeeli authored and github-actions[bot] committed Jan 14, 2024
1 parent 2e3e7b9 commit 3d9b8d5
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 @@ -69,12 +69,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 3d9b8d5

Please sign in to comment.