summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-14 17:24:29 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-18 11:21:28 +0200
commitf93d55eebd216e59f200da2bf46cd332bc17bedc (patch)
tree1099da3d345cf157f1d53139c3cd06b551453a8f /lib
parentaad16c8508b11c54cd87122456642b8e20c774d3 (diff)
downloadnextcloud-server-f93d55eebd216e59f200da2bf46cd332bc17bedc.tar.gz
nextcloud-server-f93d55eebd216e59f200da2bf46cd332bc17bedc.zip
PHP CS fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppFramework/Routing/RouteConfig.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/AppFramework/Routing/RouteConfig.php b/lib/private/AppFramework/Routing/RouteConfig.php
index 58e677dd01a..af745a35fcc 100644
--- a/lib/private/AppFramework/Routing/RouteConfig.php
+++ b/lib/private/AppFramework/Routing/RouteConfig.php
@@ -33,7 +33,6 @@ declare(strict_types=1);
namespace OC\AppFramework\Routing;
use OC\AppFramework\DependencyInjection\DIContainer;
-use OCP\AppFramework\App;
use OCP\Route\IRouter;
/**
@@ -155,13 +154,13 @@ class RouteConfig {
// optionally register requirements for route. This is used to
// tell the route parser how url parameters should be matched
- if(array_key_exists('requirements', $route)) {
+ if (array_key_exists('requirements', $route)) {
$router->requirements($route['requirements']);
}
// optionally register defaults for route. This is used to
// tell the route parser how url parameters should be default valued
- if(array_key_exists('defaults', $route)) {
+ if (array_key_exists('defaults', $route)) {
$router->defaults($route['defaults']);
}
}