Code Duplication    Length = 3-3 lines in 2 locations

src/CSS.php 2 locations

@@ 61-63 (lines=3) @@
58
            }
59
60
            // Remove possible GET parameters from resource path
61
            if (($getStart = strpos($url, '?')) !== false) {
62
                $url = substr($url, 0, $getStart);
63
            }
64
65
            // Remove possible HASH parameters from resource path
66
            if (($getStart = strpos($url, '#')) !== false) {
@@ 66-68 (lines=3) @@
63
            }
64
65
            // Remove possible HASH parameters from resource path
66
            if (($getStart = strpos($url, '#')) !== false) {
67
                $url = substr($url, 0, $getStart);
68
            }
69
70
            // Try to find resource and output full error
71
            try {