@@ -63,7 +63,7 @@ |
||
| 63 | 63 | /** @var BaseActiveRecord $model */ |
| 64 | 64 | $model = $this->owner; |
| 65 | 65 | |
| 66 | - return preg_replace_callback('/{([^}]+)}/', static function ($matches) use ($model) { |
|
| 66 | + return preg_replace_callback('/{([^}]+)}/', static function($matches) use ($model) { |
|
| 67 | 67 | $name = $matches[1]; |
| 68 | 68 | $attribute = ArrayHelper::getValue($model, $name); |
| 69 | 69 | |