diff --git a/mod/item.php b/mod/item.php index 98528b59b1..46f2a219e3 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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; diff --git a/src/Module/Home.php b/src/Module/Home.php index 692d10ba5f..7e7d59d760 100644 --- a/src/Module/Home.php +++ b/src/Module/Home.php @@ -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; diff --git a/src/Module/Post/Tag/Add.php b/src/Module/Post/Tag/Add.php index f1fa23a082..bf704a50c0 100644 --- a/src/Module/Post/Tag/Add.php +++ b/src/Module/Post/Tag/Add.php @@ -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; diff --git a/src/Module/User/Delegation.php b/src/Module/User/Delegation.php index 1658e72c18..935ac83a6b 100644 --- a/src/Module/User/Delegation.php +++ b/src/Module/User/Delegation.php @@ -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; }