From f3af47ca5bbb4412e65fecc0936a8b8a8f27334d Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 9 Feb 2025 20:24:34 +0000 Subject: [PATCH] Fix codestyle --- src/App/Page.php | 14 +++++++------- src/Module/Update/Display.php | 6 ++---- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/App/Page.php b/src/App/Page.php index c4efb197cc..a9fc9674a0 100644 --- a/src/App/Page.php +++ b/src/App/Page.php @@ -261,13 +261,13 @@ class Page implements ArrayAccess 'dictMaxFilesExceeded' => $l10n->t("You can't upload any more files."), ], - '$local_user' => $localUID, - '$generator' => 'Friendica' . ' ' . App::VERSION, - '$update_content' => (int)$pConfig->get($localUID, 'system', 'update_content'), - '$shortcut_icon' => $shortcut_icon, - '$touch_icon' => $touch_icon, - '$block_public' => intval($config->get('system', 'block_public')), - '$stylesheets' => $this->stylesheets, + '$local_user' => $localUID, + '$generator' => 'Friendica' . ' ' . App::VERSION, + '$update_content' => (int)$pConfig->get($localUID, 'system', 'update_content'), + '$shortcut_icon' => $shortcut_icon, + '$touch_icon' => $touch_icon, + '$block_public' => intval($config->get('system', 'block_public')), + '$stylesheets' => $this->stylesheets, // Dropzone '$max_imagesize' => round(Images::getMaxUploadBytes() / 1000000, 0), diff --git a/src/Module/Update/Display.php b/src/Module/Update/Display.php index 90e057c0f8..1ac1770331 100644 --- a/src/Module/Update/Display.php +++ b/src/Module/Update/Display.php @@ -51,12 +51,10 @@ class Display extends DisplayModule "`parent-uri-id` = ? AND `uid` IN (?, ?) AND `received` > ?", $parentUriId, 0, $profileUid, $updateDate])) { - $this->logger->debug('No updated content. Ending process', - ['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]); + $this->logger->debug('No updated content. Ending process', ['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]); return ''; } else { - $this->logger->debug('Updated content found.', - ['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]); + $this->logger->debug('Updated content found.', ['uri-id' => $uriId, 'uid' => $profileUid, 'updated' => $updateDate]); } } } else {