From 72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 6 Jul 2020 16:00:58 +0200 Subject: Remove some IRouter methods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is not the end. IRouter needs to burn. But it is a start. 🎵 we didn't start the fire 🎵 Signed-off-by: Roeland Jago Douma --- lib/private/URLGenerator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/private/URLGenerator.php') diff --git a/lib/private/URLGenerator.php b/lib/private/URLGenerator.php index d7de6cf92a2..f0de31568f4 100644 --- a/lib/private/URLGenerator.php +++ b/lib/private/URLGenerator.php @@ -39,12 +39,12 @@ declare(strict_types=1); namespace OC; +use OC\Route\Router; use OCA\Theming\ThemingDefaults; use OCP\ICacheFactory; use OCP\IConfig; use OCP\IRequest; use OCP\IURLGenerator; -use OCP\Route\IRouter; use RuntimeException; /** @@ -57,13 +57,13 @@ class URLGenerator implements IURLGenerator { private $cacheFactory; /** @var IRequest */ private $request; - /** @var IRouter*/ + /** @var Router */ private $router; public function __construct(IConfig $config, ICacheFactory $cacheFactory, IRequest $request, - IRouter $router) { + Router $router) { $this->config = $config; $this->cacheFactory = $cacheFactory; $this->request = $request; -- cgit v1.2.3