Passed
Branch master (709c4a)
by Kauri
02:59
created

InterestAmountCalculatorInterface

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 0
cts 0
cp 0
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
getInterestAmount() 0 1 ?
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Kauri\Loan;
6
7
8
interface InterestAmountCalculatorInterface
9
{
10
    /**
11
     * @param float $presentValue
12
     * @param float $ratePerPeriod
13
     * @return float
14
     */
15
    public function getInterestAmount(float $presentValue, float $ratePerPeriod): float;
16
}