Skip to content

Commit

Permalink
Removed non used class, skip coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Vovke committed Sep 7, 2017
1 parent 44ada8f commit 84f3718
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 43 deletions.
4 changes: 4 additions & 0 deletions src/DateProvider/HolidayProvider/NeverHolidayProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

class NeverHolidayProvider implements HolidayProvider
{
/**
* @inheritdoc
* @codeCoverageIgnore
*/
public function isHoliday(\DateTime $date)
{
return false;
Expand Down
12 changes: 0 additions & 12 deletions src/LoanPaymentsCalculator.php

This file was deleted.

10 changes: 3 additions & 7 deletions src/PaymentSchedule/AnnuityPaymentScheduleCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

use cog\LoanPaymentsCalculator\Payment\Payment;
use cog\LoanPaymentsCalculator\Period\Period;
use cog\LoanPaymentsCalculator\Schedule\Schedule;


class AnnuityPaymentScheduleCalculator implements PaymentScheduleCalculator
{
/**
* @var Schedule[]
* @var Period[]
*/
private $schedulePeriods;

Expand Down Expand Up @@ -49,9 +48,6 @@ public function __construct($schedulePeriods, $principalAmount, $dailyInterestRa
*/
public function calculateSchedule()
{
/**
* @var Payment[] $payments
*/
$payments = [];
$numberOfPeriods = count($this->schedulePeriods);
$periodInterestRate = $this->calculateInterestPerPeriod();
Expand All @@ -77,8 +73,8 @@ public function calculateSchedule()
}

/**
* @param $interestPerPeriod
* @return float|int
* @param float $interestPerPeriod
* @return float
*/
private function calculateAnnuityPaymentAmount($interestPerPeriod)
{
Expand Down
24 changes: 0 additions & 24 deletions tests/LoanPaymentsCalculatorTest.php

This file was deleted.

0 comments on commit 84f3718

Please sign in to comment.