summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index b047b80fed..250615cbc5 100644
--- a/index.php
+++ b/index.php
@@ -204,7 +204,7 @@ try {
// Find the controller and action for the selected route
$controller_action = $routes[$request->getMethod() . ':' . $route] ?? 'ErrorController@noRouteFound';
- list($controller_name, $action) = explode('@', $controller_action);
+ [$controller_name, $action] = explode('@', $controller_action);
$controller_class = '\\Fisharebest\\Webtrees\\Http\\Controllers\\' . $controller_name;
// Set up dependency injection for the controllers.