Code Duplication    Length = 3-3 lines in 2 locations

src/Xhgui/Storage/Mongo.php 2 locations

@@ 323-325 (lines=3) @@
320
            );
321
        }
322
323
        if (null !== $filter->getUrl()) {
324
            $conditions['meta.simple_url'] = new \MongoRegex('/'.preg_quote($filter->getUrl(), '/').'/');
325
        }
326
327
        if (null !== $filter->getIp()) {
328
            $conditions['meta.SERVER.REMOTE_ADDR'] = $filter->getIp();
@@ 331-333 (lines=3) @@
328
            $conditions['meta.SERVER.REMOTE_ADDR'] = $filter->getIp();
329
        }
330
331
        if (null !== $filter->getCookie()) {
332
            $conditions['meta.SERVER.HTTP_COOKIE'] = new \MongoRegex('/'.preg_quote($filter->getCookie(), '/').'/');
333
        }
334
335
        foreach ([
336
                     'method'      => 'method',