Completed
Push — master ( e1eb62...af5e02 )
by Patrick
02:15
created

Cello   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 18
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDefaultNames() 0 4 1
A getDefaultStringLength() 0 4 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace ExtendedStrings\Strings\Instrument;
6
7
class Cello extends InstrumentBase implements InstrumentInterface
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    protected function getDefaultNames(): array
13
    {
14
        return ['A3', 'D2', 'G2', 'C2'];
15
    }
16
17
    /**
18
     * {@inheritdoc}
19
     */
20
    protected function getDefaultStringLength(): float
21
    {
22
        return 690;
23
    }
24
}
25