Code Duplication    Length = 3-3 lines in 2 locations

src/Router.php 2 locations

@@ 200-202 (lines=3) @@
197
            }
198
199
            // Remove possible GET parameters from resource path
200
            if (($getStart = stripos($url, '?')) !== false) {
201
                $url = substr($url, 0, $getStart);
202
            }
203
204
            // Remove possible HASH parameters from resource path
205
            if (($getStart = stripos($url, '#')) !== false) {
@@ 205-207 (lines=3) @@
202
            }
203
204
            // Remove possible HASH parameters from resource path
205
            if (($getStart = stripos($url, '#')) !== false) {
206
                $url = substr($url, 0, $getStart);
207
            }
208
209
            // Build path to static resource handler
210
            return 'url("/' . $this->id . '/?p='