|
@@ -38,7 +38,7 @@ |
|
|
block discarded – undo |
|
38
|
38
|
{ |
|
39
|
39
|
$parsingRule = '/{([0-9A-Za-z_]+)(?:<([^<#>]+)>)?}/'; |
|
40
|
40
|
|
|
41
|
|
- return preg_replace_callback($parsingRule, function ($match) use ($path, $attributes, $strict) { |
|
|
41
|
+ return preg_replace_callback($parsingRule, 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]) |
Please login to merge, or discard this patch.