Console::write()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 0
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
crap 2
1
<?php
2
3
namespace Simplario\Checker\Output;
4
5
/**
6
 * Class Console
7
 *
8
 * @package Simplario\Checker\Output
9 1
 */
10
class Console extends AbstractOutput
11 1
{
12
    /**
13 1
     * @param string $msg
14
     * @param string $type
15
     *
16
     * @return $this
17
     */
18
    public function write($msg = '', $type = self::TYPE_DEFAULT)
19
    {
20
        echo $msg . PHP_EOL;
21
22
        return $this;
23
    }
24
}
25