Code Duplication    Length = 3-3 lines in 2 locations

src/Router.php 2 locations

@@ 252-254 (lines=3) @@
249
            }
250
251
            // Remove possible GET parameters from resource path
252
            if (($getStart = stripos($url, '?')) !== false) {
253
                $url = substr($url, 0, $getStart);
254
            }
255
256
            // Remove possible HASH parameters from resource path
257
            if (($getStart = stripos($url, '#')) !== false) {
@@ 257-259 (lines=3) @@
254
            }
255
256
            // Remove possible HASH parameters from resource path
257
            if (($getStart = stripos($url, '#')) !== false) {
258
                $url = substr($url, 0, $getStart);
259
            }
260
261
            // Build path to static resource handler
262
            return 'url("/' . $this->id . '/?p='