Mute calles of trigger_error()

This commit is contained in:
Art4 2025-01-31 15:35:07 +00:00
parent c206e60ad4
commit 02cde27a12
2 changed files with 9 additions and 9 deletions

View file

@ -332,7 +332,7 @@ abstract class DI
*/
public static function workerLogger()
{
trigger_error('`' . __METHOD__ . '()` is deprecated since 2025.02 and will be removed after 5 months, use `DI::logger()` instead.', E_USER_DEPRECATED);
@trigger_error('`' . __METHOD__ . '()` is deprecated since 2025.02 and will be removed after 5 months, use `DI::logger()` instead.', E_USER_DEPRECATED);
return self::$dice->create(Core\Logger\Type\WorkerLogger::class);
}