@@ -240,7 +240,7 @@ |
||
240 | 240 | { |
241 | 241 | /** @var BaseActiveRecord $model */ |
242 | 242 | $model = $this->owner; |
243 | - return preg_replace_callback('/{([^}]+)}/', function ($matches) use ($model) { |
|
243 | + return preg_replace_callback('/{([^}]+)}/', function($matches) use ($model) { |
|
244 | 244 | $name = $matches[1]; |
245 | 245 | $attribute = ArrayHelper::getValue($model, $name); |
246 | 246 | if (is_string($attribute) || is_numeric($attribute)) { |