@@ -30,10 +30,10 @@ |
||
| 30 | 30 | \preg_replace_callback( |
| 31 | 31 | $this->pattern, |
| 32 | 32 | static function (array $matches) use ($context) { |
| 33 | - try { |
|
| 33 | + try{ |
|
| 34 | 34 | return $context->resolveValue($matches['name']); |
| 35 | - } catch (ContextException $e) { |
|
| 36 | - if (isset($matches['default'])) { |
|
| 35 | + }catch (ContextException $e){ |
|
| 36 | + if (isset($matches['default'])){ |
|
| 37 | 37 | return $matches['default']; |
| 38 | 38 | } |
| 39 | 39 | |