aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Routing/RouteParser.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/AppFramework/Routing/RouteParser.php')
-rw-r--r--lib/private/AppFramework/Routing/RouteParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Routing/RouteParser.php b/lib/private/AppFramework/Routing/RouteParser.php
index 8511ff9ee39..b65938d5b63 100644
--- a/lib/private/AppFramework/Routing/RouteParser.php
+++ b/lib/private/AppFramework/Routing/RouteParser.php
@@ -96,7 +96,7 @@ class RouteParser {
if (count($split) !== 2) {
throw new \UnexpectedValueException('Invalid route name');
}
- list($controller, $action) = $split;
+ [$controller, $action] = $split;
$controllerName = $this->buildControllerName($controller);
$actionName = $this->buildActionName($action);