Code Duplication    Length = 3-3 lines in 2 locations

src/Dispatcher.php 2 locations

@@ 231-233 (lines=3) @@
228
229
            if ( strtoupper($type) == "ROUTE" ) {
230
231
                if ( $relative ) $this->routingtable->setRoute($service, $type, DISPATCHER_SERVICES_FOLDER.$target, $parameters);
232
233
                else $this->routingtable->setRoute($service, $type, $target, $parameters);
234
235
            }
236
@@ 239-241 (lines=3) @@
236
237
            else if ( strtoupper($type) == "REDIRECT" ) {
238
239
                if ( $relative ) $this->routingtable->setRoute($service, $type, DISPATCHER_BASEURL.$target, $parameters);
240
241
                else $this->routingtable->setRoute($service, $type, $target, $parameters);
242
243
            }
244