Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Routing / RouteCompiler.php
index e4aef439806cd8b3785eb8c764d98632bb871b81..9c430f6811cb46ef523a5c976986c7f0446b1c2f 100644 (file)
@@ -130,7 +130,7 @@ class RouteCompiler extends SymfonyRouteCompiler implements RouteCompilerInterfa
 
     // Remove placeholders with default values from the outline, so that they
     // will still match.
-    $remove = array_map(function($a) {
+    $remove = array_map(function ($a) {
       return '/{' . $a . '}';
     }, array_keys($defaults));
     $path = str_replace($remove, '', $path);