Fix codestyle

This commit is contained in:
Michael 2025-02-09 20:24:34 +00:00
parent 3c3c69dfd8
commit f3af47ca5b
2 changed files with 9 additions and 11 deletions

View file

@ -261,13 +261,13 @@ class Page implements ArrayAccess
'dictMaxFilesExceeded' => $l10n->t("You can't upload any more files."), 'dictMaxFilesExceeded' => $l10n->t("You can't upload any more files."),
], ],
'$local_user' => $localUID, '$local_user' => $localUID,
'$generator' => 'Friendica' . ' ' . App::VERSION, '$generator' => 'Friendica' . ' ' . App::VERSION,
'$update_content' => (int)$pConfig->get($localUID, 'system', 'update_content'), '$update_content' => (int)$pConfig->get($localUID, 'system', 'update_content'),
'$shortcut_icon' => $shortcut_icon, '$shortcut_icon' => $shortcut_icon,
'$touch_icon' => $touch_icon, '$touch_icon' => $touch_icon,
'$block_public' => intval($config->get('system', 'block_public')), '$block_public' => intval($config->get('system', 'block_public')),
'$stylesheets' => $this->stylesheets, '$stylesheets' => $this->stylesheets,
// Dropzone // Dropzone
'$max_imagesize' => round(Images::getMaxUploadBytes() / 1000000, 0), '$max_imagesize' => round(Images::getMaxUploadBytes() / 1000000, 0),

View file

@ -51,12 +51,10 @@ class Display extends DisplayModule
"`parent-uri-id` = ? AND `uid` IN (?, ?) AND `received` > ?", "`parent-uri-id` = ? AND `uid` IN (?, ?) AND `received` > ?",
$parentUriId, 0, $parentUriId, 0,
$profileUid, $updateDate])) { $profileUid, $updateDate])) {
$this->logger->debug('No updated content. Ending process', $this->logger->debug('No updated content. Ending process', ['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]);
['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]);
return ''; return '';
} else { } else {
$this->logger->debug('Updated content found.', $this->logger->debug('Updated content found.', ['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]);
['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]);
} }
} }
} else { } else {