]> git.mxchange.org Git - friendica.git/commitdiff
Fix cs
authorArt4 <art4@wlabs.de>
Sat, 8 Feb 2025 16:38:01 +0000 (16:38 +0000)
committerArt4 <art4@wlabs.de>
Sat, 8 Feb 2025 16:38:01 +0000 (16:38 +0000)
mod/item.php
src/Module/Home.php
src/Module/Post/Tag/Add.php
src/Module/User/Delegation.php

index 98528b59b1ace4c76471a2dc7ebb1fd26a4877af..46f2a219e3f8855ba77197d323b623caaa3011b7 100644 (file)
@@ -18,7 +18,6 @@
 
 use Friendica\Content\Conversation;
 use Friendica\Content\Text\BBCode;
-use Friendica\Core\Hook;
 use Friendica\Core\Protocol;
 use Friendica\Core\System;
 use Friendica\Core\Worker;
index 692d10ba5f6300674d72a84192d622a490b52cc5..7e7d59d76057468865e09a38ee4148c496ac425c 100644 (file)
@@ -33,8 +33,8 @@ class Home extends BaseModule
 
        protected function content(array $request = []): string
        {
-               $basePath = DI::appHelper()->getBasePath();
-               $config = DI::config();
+               $basePath        = DI::appHelper()->getBasePath();
+               $config          = DI::config();
                $eventDispatcher = DI::eventDispatcher();
 
                $eventDispatcher->dispatch(
@@ -49,11 +49,11 @@ class Home extends BaseModule
                        DI::baseUrl()->redirect('/profile/' . $config->get('system', 'singleuser'));
                }
 
-               $customHome = '';
+               $customHome    = '';
                $defaultHeader = ($config->get('config', 'sitename') ? DI::l10n()->t('Welcome to %s', $config->get('config', 'sitename')) : '');
 
                $homeFilePath = $basePath . '/home.html';
-               $cssFilePath = $basePath . '/home.css';
+               $cssFilePath  = $basePath . '/home.css';
 
                if (file_exists($homeFilePath)) {
                        $customHome = $homeFilePath;
index f1fa23a082113d349f257e474fafeac1b5526186..bf704a50c0fdd9307f230549a61e98b36fc2dc72 100644 (file)
@@ -8,7 +8,6 @@
 namespace Friendica\Module\Post\Tag;
 
 use Friendica\App;
-use Friendica\Core\Hook;
 use Friendica\Core\L10n;
 use Friendica\Core\Session\Capability\IHandleUserSessions;
 use Friendica\Core\System;
index 1658e72c18873dab3970471e0817322abda766df..935ac83a6b137bb5bc5c0622c02c42ccd793b2fa 100644 (file)
@@ -53,13 +53,13 @@ class Delegation extends BaseModule
        {
                parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters);
 
-               $this->session        = $session;
-               $this->db             = $db;
-               $this->auth           = $auth;
-               $this->systemMessages = $systemMessages;
-               $this->notify         = $notify;
-               $this->intro          = $intro;
-               $this->appHelper      = $appHelper;
+               $this->session         = $session;
+               $this->db              = $db;
+               $this->auth            = $auth;
+               $this->systemMessages  = $systemMessages;
+               $this->notify          = $notify;
+               $this->intro           = $intro;
+               $this->appHelper       = $appHelper;
                $this->eventDispatcher = $eventDispatcher;
        }