aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Routing/RouteConfig.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-01-11 14:15:16 +0100
committerGitHub <noreply@github.com>2021-01-11 14:15:16 +0100
commit5ed673e5ebd20884f183cf00bee5cc8938a1d7be (patch)
treef28a8b0949fb18a94584dcf016d7e78fb2ceebd8 /lib/private/AppFramework/Routing/RouteConfig.php
parent683685b72c90a892904026560ac4eba740d20382 (diff)
parent24d436cb600a725ba162a5387552a996a6fc486f (diff)
downloadnextcloud-server-5ed673e5ebd20884f183cf00bee5cc8938a1d7be.tar.gz
nextcloud-server-5ed673e5ebd20884f183cf00bee5cc8938a1d7be.zip
Merge pull request #25073 from nextcloud/psalm/24521/remove-unneeded-casts
Remove unneeded casts that were found by Psalm
Diffstat (limited to 'lib/private/AppFramework/Routing/RouteConfig.php')
-rw-r--r--lib/private/AppFramework/Routing/RouteConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Routing/RouteConfig.php b/lib/private/AppFramework/Routing/RouteConfig.php
index b382e7eb4b0..c522d3436ca 100644
--- a/lib/private/AppFramework/Routing/RouteConfig.php
+++ b/lib/private/AppFramework/Routing/RouteConfig.php
@@ -231,7 +231,7 @@ class RouteConfig {
$controllerName = $this->buildControllerName($controller);
$actionName = $this->buildActionName($method);
- $routeName = $routeNamePrefix . $this->appName . '.' . strtolower($resource) . '.' . strtolower($method);
+ $routeName = $routeNamePrefix . $this->appName . '.' . strtolower($resource) . '.' . $method;
$route = $this->router->create($routeName, $url)
->method($verb);