From 24d436cb600a725ba162a5387552a996a6fc486f Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 11 Jan 2021 12:57:03 +0100 Subject: Remove unneeded casts that were found by Psalm In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke --- lib/private/AppFramework/Routing/RouteConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/AppFramework/Routing') 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); -- cgit v1.2.3