From 3d9b8d5bf499091d10a346d74e4c407bb378948f Mon Sep 17 00:00:00 2001 From: SSEsmaeeli Date: Sun, 14 Jan 2024 00:56:19 +0000 Subject: [PATCH] Fix styling --- src/Traits/BalanceOperation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Traits/BalanceOperation.php b/src/Traits/BalanceOperation.php index 0f43ba9..a19d44a 100644 --- a/src/Traits/BalanceOperation.php +++ b/src/Traits/BalanceOperation.php @@ -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; } }