Code Duplication    Length = 7-7 lines in 2 locations

lib/App/CLI.php 1 location

@@ 497-503 (lines=7) @@
494
    }
495
496
    /** @obsolete */
497
    public function outputDebug($object, $msg, $shift = 0)
498
    {
499
        if ($this->hook('output-debug', array($object, $msg, $shift))) {
500
            return true;
501
        }
502
        echo "debug: $msg\n";
503
    }
504
    // }}}
505
506
    // {{{ Configuration File Handling

lib/App/Web.php 1 location

@@ 216-222 (lines=7) @@
213
     *
214
     * @return bool|void
215
     */
216
    public function outputDebug($msg, $shift = 0)
217
    {
218
        if ($this->hook('output-debug', array($msg, $shift))) {
219
            return true;
220
        }
221
        echo '<span style="color:blue">', $msg, '</font><br />';
222
    }
223
224
    // }}}
225