Code Duplication    Length = 3-3 lines in 2 locations

src/Router.php 2 locations

@@ 214-216 (lines=3) @@
211
            }
212
213
            // Remove possible GET parameters from resource path
214
            if (($getStart = stripos($url, '?')) !== false) {
215
                $url = substr($url, 0, $getStart);
216
            }
217
218
            // Remove possible HASH parameters from resource path
219
            if (($getStart = stripos($url, '#')) !== false) {
@@ 219-221 (lines=3) @@
216
            }
217
218
            // Remove possible HASH parameters from resource path
219
            if (($getStart = stripos($url, '#')) !== false) {
220
                $url = substr($url, 0, $getStart);
221
            }
222
223
            // Build path to static resource handler
224
            return 'url("/' . $this->id . '/?p='