Applied   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 7
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A when() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Dflydev\FiniteStateMachine\Event;
6
7
use Dflydev\FiniteStateMachine\Contracts\Event;
8
9
class Applied implements Event
10
{
11
    use EventBehavior;
12
13 7
    public function when(): string
14
    {
15 7
        return 'after';
16
    }
17
}
18