@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | $this->title = Yii::t('audit', 'Error #{id}', ['id' => $model->id]); |
12 | 12 | $this->params['breadcrumbs'][] = ['label' => Yii::t('audit', 'Audit'), 'url' => ['default/index']]; |
13 | 13 | $this->params['breadcrumbs'][] = ['label' => Yii::t('audit', 'Errors'), 'url' => ['index']]; |
14 | -$this->params['breadcrumbs'][] = '#' . $model->id; |
|
14 | +$this->params['breadcrumbs'][] = '#'.$model->id; |
|
15 | 15 | |
16 | 16 | echo Html::tag('h1', $this->title); |
17 | 17 | |
@@ -44,16 +44,15 @@ discard block |
||
44 | 44 | 'line', |
45 | 45 | [ |
46 | 46 | 'header' => Yii::t('audit', 'Called'), |
47 | - 'value' => function ($data) { |
|
47 | + 'value' => function($data) { |
|
48 | 48 | return |
49 | 49 | isset($data['type']) ? |
50 | - (( isset($data['class']) ? $data['class'] : '[unknown]') . $data['type'] . $data['function']) : |
|
51 | - $data['function']; |
|
50 | + ((isset($data['class']) ? $data['class'] : '[unknown]').$data['type'].$data['function']) : $data['function']; |
|
52 | 51 | } |
53 | 52 | ], |
54 | 53 | [ |
55 | 54 | 'header' => Yii::t('audit', 'Args'), |
56 | - 'value' => function ($data) { |
|
55 | + 'value' => function($data) { |
|
57 | 56 | $out = '<a class="args-toggle glyphicon glyphicon-plus" href="javascript:void(0);"></a>'; |
58 | 57 | $out .= '<pre style="display:none;">'; |
59 | 58 | $out .= !empty($data['args']) ? VarDumper::dumpAsString($data['args']) : ''; |