From 238613fd01a87f3b731ec6de160be9f08f1054c8 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 20 Nov 2021 13:26:01 +0100 Subject: [PATCH] Add feedback :) --- src/App/Mode.php | 1 - src/App/Router.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/App/Mode.php b/src/App/Mode.php index 5d26a2d45e..79cbb0f93e 100644 --- a/src/App/Mode.php +++ b/src/App/Mode.php @@ -25,7 +25,6 @@ use Detection\MobileDetect; use Friendica\Core\Config\ValueObject\Cache; use Friendica\Database\Database; use Friendica\Util\BasePath; -use phpDocumentor\Reflection\Types\Static_; /** * Mode of the current Friendica Node diff --git a/src/App/Router.php b/src/App/Router.php index 7b5adf3ea4..880f9a2f88 100644 --- a/src/App/Router.php +++ b/src/App/Router.php @@ -91,7 +91,7 @@ class Router /** @var ICanLock */ private $lock; - /** @var Arguments */ + /** @var Arguments */ private $args; /** @var IManageConfigValues */ @@ -253,7 +253,6 @@ class Router $dispatcher = new Dispatcher\GroupCountBased($this->getCachedDispatchData()); - $moduleClass = null; $this->parameters = []; $routeInfo = $dispatcher->dispatch($this->httpMethod, $cmd);