Code Duplication    Length = 3-3 lines in 2 locations

src/Xhgui/Db/Mapper.php 2 locations

@@ 59-61 (lines=3) @@
56
        if (isset($search['simple_url'])) {
57
            $conditions['meta.simple_url'] = (string)$search['simple_url'];
58
        }
59
        if (!empty($search['request_start'])) {
60
            $conditions['meta.SERVER.REQUEST_TIME']['$gte'] = $this->_convertDate($search['request_start']);
61
        }
62
        if (!empty($search['request_end'])) {
63
            $conditions['meta.SERVER.REQUEST_TIME']['$lte'] = $this->_convertDate($search['request_end']);
64
        }
@@ 62-64 (lines=3) @@
59
        if (!empty($search['request_start'])) {
60
            $conditions['meta.SERVER.REQUEST_TIME']['$gte'] = $this->_convertDate($search['request_start']);
61
        }
62
        if (!empty($search['request_end'])) {
63
            $conditions['meta.SERVER.REQUEST_TIME']['$lte'] = $this->_convertDate($search['request_end']);
64
        }
65
66
        if (!empty($search['remote_addr'])) {
67
            $conditions['meta.SERVER.REMOTE_ADDR'] = (string)$search['remote_addr'];