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

PaymentAmountCalculatorInterface

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

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