fix-phpstan-error-level-1 #1579

Merged
MrPetovan merged 34 commits from MrPetovan/friendica-addons:fix-phpstan-error-level-1 into develop 2024-12-12 22:37:43 +01:00
Showing only changes of commit 15c21cebb1 - Show all commits

View file

@ -259,9 +259,11 @@ EOT;
Logger::debug('wppost: data: ' . $xml);
$x = '';
if ($wp_blog !== 'test') {
$x = DI::httpClient()->post($wp_blog, $xml)->getBodyString();
}
Logger::info('posted to wordpress: ' . (($x) ? $x : ''));
Logger::info('posted to wordpress: ' . $x);
}
}