Code Duplication    Length = 3-3 lines in 2 locations

src/Router.php 2 locations

@@ 209-211 (lines=3) @@
206
            if (strpos($url, '/' . $this->id . '/') === false) {
207
208
                // Remove possible GET parameters from resource path
209
                if (($getStart = stripos($url, '?')) !== false) {
210
                    $url = substr($url, 0, $getStart);
211
                }
212
213
                // Remove possible HASH parameters from resource path
214
                if (($getStart = stripos($url, '#')) !== false) {
@@ 214-216 (lines=3) @@
211
                }
212
213
                // Remove possible HASH parameters from resource path
214
                if (($getStart = stripos($url, '#')) !== false) {
215
                    $url = substr($url, 0, $getStart);
216
                }
217
218
                //trace($this->c_module->id.'-'.get_class($this->c_module).'-'.$url.'-'.is_a( $this->c_module, ns_classname('ExternalModule','samson\core')));;
219