summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-24 17:52:23 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:33 +0100
commit885e54e7e0e00b268c597962107439820c95d188 (patch)
tree7778ea03f189dc7a4730a71ea606e8fd4e49ed47 /apps
parent1994554b4491a1785d88768b893985dcc40495f2 (diff)
downloadnextcloud-server-885e54e7e0e00b268c597962107439820c95d188.tar.gz
nextcloud-server-885e54e7e0e00b268c597962107439820c95d188.zip
Psalm easy fixes in apps/files/appinfo/routes.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/appinfo/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index dabbeab978e..e4af2367906 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -40,12 +40,12 @@ namespace OCA\Files\AppInfo;
use OCA\Files\Controller\OpenLocalEditorController;
// Legacy routes above
-/** @var $this \OC\Route\Router */
+/** @var \OC\Route\Router $this */
$this->create('files_ajax_download', 'apps/files/ajax/download.php')
->actionInclude('files/ajax/download.php');
/** @var Application $application */
-$application = \OC::$server->query(Application::class);
+$application = \OC::$server->get(Application::class);
$application->registerRoutes(
$this,
[