@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | 'entityId' => null, |
19 | 19 | 'page' => null |
20 | 20 | ])) ?> |
21 | - <?php if($model->entity_id): ?> |
|
21 | + <?php if ($model->entity_id): ?> |
|
22 | 22 | <?= ':' . Html::a(Html::encode($model->entity_id), Url::current([ |
23 | 23 | 'entityName' => $model->entity_name, |
24 | 24 | 'entityId' => $model->entity_id, |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | <?php foreach ($model->getData() as $attribute => $values): ?> |
47 | 47 | <?php if (is_string($values)): ?> |
48 | 48 | <li> |
49 | - <?php if(is_string($attribute)): ?> |
|
49 | + <?php if (is_string($attribute)): ?> |
|
50 | 50 | <strong><?= Html::encode($attribute) ?></strong> |
51 | 51 | <?php endif; ?> |
52 | 52 | <?= Html::encode(Yii::t('lav45/logger', $values)) ?> |
@@ -75,7 +75,7 @@ |
||
75 | 75 | if (is_callable($this->template)) { |
76 | 76 | return call_user_func($this->template); |
77 | 77 | } |
78 | - $callback = function ($matches) { |
|
78 | + $callback = function($matches) { |
|
79 | 79 | return ArrayHelper::getValue($this->owner, $matches[1]); |
80 | 80 | }; |
81 | 81 | return preg_replace_callback('/\\{([\w\._]+)\\}/', $callback, $this->template); |