Passed
Push — master ( 657f5c...767802 )
by Ekin
03:11
created

SwellEgg   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 10
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAsArray() 0 7 1
1
<?php declare(strict_types = 1);
2
3
namespace ekinhbayar\GitAmp\Presentation\Sound;
4
5
class SwellEgg extends BaseSound
6
{
7 5
    public function getAsArray(): array
8
    {
9
        return [
10 5
            'size' => $this->size,
11 5
            'type' => 'SwellEgg',
12
        ];
13
    }
14
}
15