Code Duplication    Length = 9-9 lines in 2 locations

src/views/profile/index.php 2 locations

@@ 37-45 (lines=9) @@
34
            [
35
                'id' => [
36
                    'label' => Module::t('main', 'ID'),
37
                    'value' => function($searchModel) {
38
                        return Html::a(
39
                            Html::encode($searchModel->id),
40
                            Url::to([
41
                                $this->params['urlPrefix'].'view',
42
                                'id' => $searchModel->id
43
                            ])
44
                        );
45
                    },
46
                    'format' => 'raw',
47
                ],
48
                'name' => [
@@ 50-58 (lines=9) @@
47
                ],
48
                'name' => [
49
                    'label' => Module::t('users', 'Name'),
50
                    'value' => function($searchModel) {
51
                        return Html::a(
52
                            Html::encode($searchModel->name),
53
                            Url::to([
54
                                $this->params['urlPrefix'].'view',
55
                                'id' => $searchModel->id
56
                            ])
57
                        );
58
                    },
59
                    'format' => 'raw',
60
                ],
61
                'email' => [