Code Duplication    Length = 6-6 lines in 2 locations

src/widget/views/comments.php 2 locations

@@ 59-64 (lines=6) @@
56
            </div>
57
        </div>
58
59
        <?php if ($widget->formPosition === 'top') {
60
            echo $this->render($widget->formView, [
61
                'commentModel' => $commentModel,
62
                'widget' => $widget
63
            ]);
64
        } ?>
65
66
        <?php if ($this->beginCache($cacheKey, $cacheProperties)) { ?>
67
            <div class="row">
@@ 80-85 (lines=6) @@
77
            </div>
78
        <?php $this->endCache(); } ?>
79
80
        <?php if ($widget->formPosition === 'bottom') {
81
            echo $this->render($widget->formView, [
82
                'commentModel' => $commentModel,
83
                'widget' => $widget
84
            ]);
85
        } ?>
86
87
        <?php Pjax::end(); ?>
88