// 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);