]> git.mxchange.org Git - friendica.git/commitdiff
Fix codestyle
authorMichael <heluecht@pirati.ca>
Sun, 9 Feb 2025 20:24:34 +0000 (20:24 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 9 Feb 2025 20:24:34 +0000 (20:24 +0000)
src/App/Page.php
src/Module/Update/Display.php

index c4efb197cc470a4164f31ec6a750642f29ecc66d..a9fc9674a0c3dff04254fc638a73f622967dc603 100644 (file)
@@ -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),
index 90e057c0f817e172f0d47197a636ce3a62f407c5..1ac1770331858ea8fb0be889ffcf2527fe3a8b35 100644 (file)
@@ -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 {