Code Duplication    Length = 11-11 lines in 2 locations

micro/widget/GridViewWidget.php 1 location

@@ 201-211 (lines=11) @@
198
     *
199
     * @return string
200
     */
201
    protected function getPager()
202
    {
203
        if (!$this->rows) {
204
            return '';
205
        }
206
207
        $pager = new PaginationWidget($this->paginationConfig);
208
        $pager->init();
209
210
        return $pager->run();
211
    }
212
213
    /**
214
     * Get table

micro/widget/ListViewWidget.php 1 location

@@ 208-218 (lines=11) @@
205
     *
206
     * @return string
207
     */
208
    protected function getPager()
209
    {
210
        if (!$this->rows) {
211
            return '';
212
        }
213
214
        $pager = new PaginationWidget($this->paginationConfig);
215
        $pager->init();
216
217
        return $pager->run();
218
    }
219
}
220