From f03c5c7f89f6f8de1bedf5908cf72fe32e369eaa Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 25 Oct 2022 08:07:42 +0200 Subject: [PATCH] implement feeback --- src/App.php | 6 +++--- src/Content/Conversation.php | 2 +- src/Module/Security/Logout.php | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/App.php b/src/App.php index c91ca4c4f..27eaf100f 100644 --- a/src/App.php +++ b/src/App.php @@ -334,9 +334,9 @@ class App * @param L10n $l10n The translator instance * @param App\Arguments $args The Friendica Arguments of the call * @param IManagePersonalConfigValues $pConfig Personal configuration - * @param IHandleUserSessions $sessions The (User)Session handler + * @param IHandleUserSessions $session The (User)Session handler */ - public function __construct(Database $database, IManageConfigValues $config, App\Mode $mode, BaseURL $baseURL, LoggerInterface $logger, Profiler $profiler, L10n $l10n, Arguments $args, IManagePersonalConfigValues $pConfig, IHandleUserSessions $sessions) + public function __construct(Database $database, IManageConfigValues $config, App\Mode $mode, BaseURL $baseURL, LoggerInterface $logger, Profiler $profiler, L10n $l10n, Arguments $args, IManagePersonalConfigValues $pConfig, IHandleUserSessions $session) { $this->database = $database; $this->config = $config; @@ -347,7 +347,7 @@ class App $this->l10n = $l10n; $this->args = $args; $this->pConfig = $pConfig; - $this->session = $sessions; + $this->session = $session; $this->load(); } diff --git a/src/Content/Conversation.php b/src/Content/Conversation.php index a3bdecc3f..7773cdd50 100644 --- a/src/Content/Conversation.php +++ b/src/Content/Conversation.php @@ -500,7 +500,7 @@ class Conversation if (!$update) { $live_update_div = '
' . "\r\n" - . ""; } } elseif ($mode === 'community') { diff --git a/src/Module/Security/Logout.php b/src/Module/Security/Logout.php index e50599407..528dd295e 100644 --- a/src/Module/Security/Logout.php +++ b/src/Module/Security/Logout.php @@ -44,8 +44,7 @@ class Logout extends BaseModule protected $cache; /** @var Cookie */ protected $cookie; - /** @var IHandleUserSessions - */ + /** @var IHandleUserSessions */ protected $session; public function __construct(L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, ICanCache $cache, Cookie $cookie, IHandleUserSessions $session, array $server, array $parameters = [])