diff --git a/src/DateProvider/HolidayProvider/NeverHolidayProvider.php b/src/DateProvider/HolidayProvider/NeverHolidayProvider.php index 745d845..6162569 100644 --- a/src/DateProvider/HolidayProvider/NeverHolidayProvider.php +++ b/src/DateProvider/HolidayProvider/NeverHolidayProvider.php @@ -11,6 +11,10 @@ class NeverHolidayProvider implements HolidayProvider { + /** + * @inheritdoc + * @codeCoverageIgnore + */ public function isHoliday(\DateTime $date) { return false; diff --git a/src/LoanPaymentsCalculator.php b/src/LoanPaymentsCalculator.php deleted file mode 100644 index 8bfe53d..0000000 --- a/src/LoanPaymentsCalculator.php +++ /dev/null @@ -1,12 +0,0 @@ -schedulePeriods); $periodInterestRate = $this->calculateInterestPerPeriod(); @@ -77,8 +73,8 @@ public function calculateSchedule() } /** - * @param $interestPerPeriod - * @return float|int + * @param float $interestPerPeriod + * @return float */ private function calculateAnnuityPaymentAmount($interestPerPeriod) { diff --git a/tests/LoanPaymentsCalculatorTest.php b/tests/LoanPaymentsCalculatorTest.php deleted file mode 100644 index 17275a6..0000000 --- a/tests/LoanPaymentsCalculatorTest.php +++ /dev/null @@ -1,24 +0,0 @@ -skeleton = new LoanPaymentsCalculator; - } - - public function testNew() - { - $actual = $this->skeleton; - $this->assertInstanceOf('\cog\LoanPaymentsCalculator\LoanPaymentsCalculator', $actual); - } -}