Replace Logger with DI::logger() in Content namespace

This commit is contained in:
Art4 2025-01-13 09:32:41 +00:00
parent d4c90d41a0
commit 8c89c37775
5 changed files with 17 additions and 22 deletions

View file

@ -7,7 +7,6 @@
namespace Friendica\Content\Text;
use Friendica\Core\Logger;
use Friendica\DI;
use Friendica\Model\Contact;
@ -97,7 +96,7 @@ class Markdown
{
// @TODO Temporary until we find the source of the null value to finally set the correct type-hint
if (is_null($s)) {
Logger::warning('Received null value');
DI::logger()->warning('Received null value');
return '';
}