Code Duplication    Length = 3-3 lines in 2 locations

src/Router.php 2 locations

@@ 243-245 (lines=3) @@
240
            }
241
242
            // Remove possible GET parameters from resource path
243
            if (($getStart = stripos($url, '?')) !== false) {
244
                $url = substr($url, 0, $getStart);
245
            }
246
247
            // Remove possible HASH parameters from resource path
248
            if (($getStart = stripos($url, '#')) !== false) {
@@ 248-250 (lines=3) @@
245
            }
246
247
            // Remove possible HASH parameters from resource path
248
            if (($getStart = stripos($url, '#')) !== false) {
249
                $url = substr($url, 0, $getStart);
250
            }
251
252
            // Build path to static resource handler
253
            return 'url("/' . $this->id . '/?p='