Code Duplication    Length = 2-5 lines in 2 locations

src/Dev/DebugView.php 1 location

@@ 369-370 (lines=2) @@
366
    {
367
        $output = '<pre style="background-color:#ccc;padding:5px;font-size:14px;line-height:18px;">';
368
        $output .= "<span style=\"font-size: 12px;color:#666;\">" . $this->formatCaller($caller). " - </span>\n";
369
        if (is_string($val)) {
370
            $output .= wordwrap($val, self::config()->columns);
371
        } else {
372
            $output .= var_export($val, true);
373
        }

src/Dev/CliDebugView.php 1 location

@@ 121-125 (lines=5) @@
118
        $output .= PHP_EOL;
119
        $output .= CLI::text($this->formatCaller($caller), 'blue', null, true);
120
        $output .= PHP_EOL.PHP_EOL;
121
        if (is_string($val)) {
122
            $output .= wordwrap($val, self::config()->columns);
123
        } else {
124
            $output .= var_export($val, true);
125
        }
126
        $output .= PHP_EOL;
127
        $output .= CLI::text(str_repeat('=', self::config()->columns), 'green');
128
        $output .= PHP_EOL;