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

This commit is contained in:
Andras Bacsai
2024-10-25 17:49:16 +02:00
parent 29ad965656
commit 394dfe9e64

View File

@@ -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;