Code Duplication    Length = 3-3 lines in 2 locations

src/CSS.php 2 locations

@@ 55-57 (lines=3) @@
52
        $url = $matches[2];
53
54
        // Remove possible GET parameters from resource path
55
        if (($getStart = strpos($url, '?')) !== false) {
56
            $url = substr($url, 0, $getStart);
57
        }
58
59
        // Remove possible HASH parameters from resource path
60
        if (($getStart = strpos($url, '#')) !== false) {
@@ 60-62 (lines=3) @@
57
        }
58
59
        // Remove possible HASH parameters from resource path
60
        if (($getStart = strpos($url, '#')) !== false) {
61
            $url = substr($url, 0, $getStart);
62
        }
63
64
        // Try to find resource and output full error
65
        try {