aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/URLGenerator.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-07-06 16:00:58 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2020-11-17 14:08:20 +0100
commit72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86 (patch)
treed9e23247a80262858b0ecb81838db6fcdb3ddd76 /lib/private/URLGenerator.php
parent5acabcf5cbcb1db92fd9661bc1ed5735ae316323 (diff)
downloadnextcloud-server-72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86.tar.gz
nextcloud-server-72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86.zip
Remove some IRouter methods
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 <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/URLGenerator.php')
-rw-r--r--lib/private/URLGenerator.php6
1 files changed, 3 insertions, 3 deletions
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;