Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Refactor code to remove unused import and update loggy() function signature

Andras Bacsai394dfe9e645b
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 1374070e4d..dbab6861d4 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;