IDR::getCurrencyCode()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
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 Indonesian Rupiah currency
9
 *
10
 * This file has ben auto generated and should not be edited directly
11
 */
12
class IDR extends \byrokrat\amount\Currency
13
{
14 1
    public function getCurrencyCode(): string
15
    {
16 1
        return 'IDR';
17
    }
18
19 1
    public static function getDisplayPrecision(): int
20
    {
21 1
        return 2;
22
    }
23
}
24