@@ -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]) |
@@ -232,8 +232,8 @@ |
||
| 232 | 232 | } |
| 233 | 233 | |
| 234 | 234 | /** |
| 235 | - * @return void |
|
| 236 | - */ |
|
| 235 | + * @return void |
|
| 236 | + */ |
|
| 237 | 237 | public function testBuildRegex() : void |
| 238 | 238 | { |
| 239 | 239 | $route = new Fixture\TestRoute(); |