/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Log/functions.php
19 строк
439 B
Abdelrahmen Ayman
fix: replace log function and logger helper return type ?LogManager with ?LoggerInterface (#57028)
21 сен 2025, 18:11
Не верифицирован
21 сен 2025, 18:11
559976f
Код
Авторство
О чём код?
<?php namespace Illuminate\Log; use Psr\Log\LoggerInterface; if (! function_exists('Illuminate\Log\log')) { /** * Log a debug message to the logs. * * @param string|null $message * @param array $context * @return ($message is null ? \Psr\Log\LoggerInterface: null) */ function log($message = null, array $context = []): ?LoggerInterface { return logger($message, $context); } }