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

AFN   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCurrencyCode() 0 4 1
A getDisplayPrecision() 0 4 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace byrokrat\amount\Currency;
6
7
/**
8
 * The Afghan Afghani currency
9
 *
10
 * This file has ben auto generated and should not be edited directly
11
 */
12
class AFN extends \byrokrat\amount\Currency
13
{
14 1
    public function getCurrencyCode(): string
15
    {
16 1
        return 'AFN';
17
    }
18
19 1
    public static function getDisplayPrecision(): int
20
    {
21 1
        return 2;
22
    }
23
}
24