PHPStan level 3 #1603

Merged
nupplaPhil merged 15 commits from Art4/friendica-addons:phpstan-level-3 into develop 2025-04-27 02:17:42 +02:00
Showing only changes of commit c56ec7c7c4 - Show all commits

Fix error in mailstream addon

Art4 2025-03-13 10:29:47 +00:00

View file

@ -179,7 +179,7 @@ function mailstream_post_hook(array &$item)
function mailstream_do_images(array &$item, array &$attachments) function mailstream_do_images(array &$item, array &$attachments)
{ {
if (!DI::pConfig()->get($item['uid'], 'mailstream', 'attachimg')) { if (!DI::pConfig()->get($item['uid'], 'mailstream', 'attachimg')) {
return; return $attachments;
} }
$attachments = []; $attachments = [];