Completed
Push — master ( 7d1c48...f25f2d )
by Hannes
01:28
created

_TRY::getCurrencyCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
crap 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace byrokrat\amount\Currency;
6
7
/**
8
 * The Turkish Lira currency
9
 *
10
 * This file has ben auto generated and should not be edited directly
11
 */
12
class _TRY extends \byrokrat\amount\Currency
13
{
14 1
    public function getCurrencyCode(): string
15
    {
16 1
        return 'TRY';
17
    }
18
19 1
    public static function getDisplayPrecision(): int
20
    {
21 1
        return 2;
22
    }
23
}
24