Code Duplication    Length = 11-11 lines in 2 locations

lib/Util/Log/Logger.php 1 location

@@ 36-46 (lines=11) @@
33
    }
34
35
36
    public function addCharacteristic($type, $value)
37
    {
38
        $this->info(
39
            sprintf('Set %s to %s', $type, $value),
40
            [
41
                'type'              => 'characteristic',
42
                'characteristic'    => $type,
43
                'value'             => $value
44
            ]
45
        );
46
    }
47
48
    public function getInvokedTest()
49
    {

lib/Util/Log/LoggerPHPUnit5.php 1 location

@@ 31-41 (lines=11) @@
28
        $listener->addListener($this);
29
    }
30
31
    public function addCharacteristic($type, $value)
32
    {
33
        $this->info(
34
            sprintf('Set %s to %s', $type, $value),
35
            [
36
                'type'              => 'characteristic',
37
                'characteristic'    => $type,
38
                'value'             => $value
39
            ]
40
        );
41
    }
42
43
    public function getInvokedTest()
44
    {