@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | ); |
97 | 97 | |
98 | 98 | $container = $this->container; |
99 | - $path = preg_replace_callback('#%(.*?)%#', static function ($matches) use ($container) { |
|
99 | + $path = preg_replace_callback('#%(.*?)%#', static function($matches) use ($container) { |
|
100 | 100 | return '<abbr title="' . htmlspecialchars($matches[0]) . '">' |
101 | 101 | . htmlspecialchars($container->getParameter($matches[1])) |
102 | 102 | . '</abbr>' |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | |
106 | 106 | $defaults = $route->getDefaults(); |
107 | 107 | $requirements = $route->getRequirements(); |
108 | - $path = preg_replace_callback('#{(.*?)}#', function ($matches) use ($defaults, $requirements) { |
|
108 | + $path = preg_replace_callback('#{(.*?)}#', function($matches) use ($defaults, $requirements) { |
|
109 | 109 | $title = ''; |
110 | 110 | if (isset($defaults[$matches[1]])) { |
111 | 111 | $title .= $this->trans('Default: %value%', ['%value%' => htmlspecialchars($defaults[$matches[1]])]); |