Passed
Branch v2_rewrite (407290)
by Ekin
05:43
created

BaseSound::getAsArray()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
nc 1
1
<?php declare(strict_types = 1);
2
3
namespace ekinhbayar\GitAmp\Presentation\Sound;
4
5
abstract class BaseSound
6
{
7
    protected $size;
8
9 23
    public function __construct(float $size = 1) {
10 23
        $this->size = $size;
11
    }
12
13
    abstract public function getAsArray(): array;
14
}
15