Passed
Pull Request — master (#8)
by Mathieu
04:41 queued 02:48
created

Event   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEventType() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Suricate;
6
7
class Event
8
{
9
    /**
10
     * @const string
11
     */
12
    const EVENT_TYPE = '';
13
14 1
    public static function getEventType(): string
15
    {
16 1
        return static::EVENT_TYPE;
17
    }
18
}
19