@@ -38,7 +38,7 @@ |
||
| 38 | 38 | { |
| 39 | 39 | $regex = '/{([0-9A-Za-z_]+)(?:<([^<#>]+)>)?}/'; |
| 40 | 40 | |
| 41 | - return preg_replace_callback($regex, function ($match) use ($path, $attributes, $strict) { |
|
| 41 | + return preg_replace_callback($regex, function($match) use ($path, $attributes, $strict) { |
|
| 42 | 42 | if (!isset($attributes[$match[1]])) { |
| 43 | 43 | throw new InvalidArgumentException( |
| 44 | 44 | sprintf('[%s] missing attribute "%s".', $path, $match[1]) |