Code Duplication    Length = 4-4 lines in 2 locations

PHPDaemon/Clients/IRC/Connection.php 1 location

@@ 425-428 (lines=4) @@
422
                $args[] = $e[$i];
423
            }
424
425
            if (ctype_digit($cmd)) {
426
                $code = (int)$cmd;
427
                $cmd = isset(IRC::$codes[$code]) ? IRC::$codes[$code] : $code;
428
            }
429
            $this->lastLine = $line;
430
            $this->onCommand($from, $cmd, $args);
431
        }

PHPDaemon/Servers/IRCBouncer/Connection.php 1 location

@@ 303-306 (lines=4) @@
300
                $args[] = $e[$i];
301
            }
302
303
            if (ctype_digit($cmd)) {
304
                $code = (int)$cmd;
305
                $cmd = isset(IRC::$codes[$code]) ? IRC::$codes[$code] : 'UNKNOWN-' . $code;
306
            }
307
            $this->onCommand($cmd, $args);
308
        }
309
        if (mb_orig_strlen($this->buf) > 512) {