Code Duplication    Length = 3-4 lines in 2 locations

src/RequestMatcher/RegexRequestMatcher.php 2 locations

@@ 78-81 (lines=4) @@
75
            return false;
76
        }
77
78
        if (null !== $this->path && !preg_match('{'.$this->path.'}', rawurldecode($request->getUri()->getPath()))) {
79
80
            return false;
81
        }
82
83
        if (null !== $this->host && !preg_match('{'.$this->host.'}i', $request->getUri()->getHost())) {
84
            return false;
@@ 83-85 (lines=3) @@
80
            return false;
81
        }
82
83
        if (null !== $this->host && !preg_match('{'.$this->host.'}i', $request->getUri()->getHost())) {
84
            return false;
85
        }
86
87
        return true;
88
    }