Test Failed
Push — master ( e46311...6bec89 )
by Hannes
02:05
created

VoidOutcome   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getDescription() 0 3 1
A getContent() 0 3 1
A mustBeHandled() 0 3 1
A getType() 0 3 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace hanneskod\readmetester\Runner;
6
7
final class VoidOutcome implements OutcomeInterface
8
{
9
    public function getType(): string
10
    {
11
        return self::TYPE_VOID;
12
    }
13
14
    public function mustBeHandled(): bool
15
    {
16
        return false;
17
    }
18
19
    public function getContent(): string
20
    {
21
        return '';
22
    }
23
24
    public function getDescription(): string
25
    {
26
        return 'void outcome';
27
    }
28
}
29