From 394dfe9e645b5f9bb9c38ad8b5ebb15228431d25 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 25 Oct 2024 17:49:16 +0200 Subject: [PATCH] Refactor code to remove unused import and update loggy() function signature --- bootstrap/helpers/shared.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index 1374070e4..dbab6861d 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -30,7 +30,6 @@ use App\Notifications\Channels\TelegramChannel; use App\Notifications\Internal\GeneralNotification; use DanHarrin\LivewireRateLimiting\Exceptions\TooManyRequestsException; use Illuminate\Database\UniqueConstraintViolationException; -use Illuminate\Log\LogManager; use Illuminate\Mail\Message; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Process\Pool; @@ -4014,7 +4013,7 @@ function loadConfigFromGit(string $repository, string $branch, string $base_dire } } -function loggy($message = null, array $context = []): LogManager +function loggy($message = null, array $context = []) { if (! isDev()) { return;