From e2c511cf46a259421f12bb8fd17dd38455aea0dd Mon Sep 17 00:00:00 2001 From: Habibhaidari1 <50026238+habibhaidari1@users.noreply.github.com> Date: Fri, 17 May 2024 22:55:08 +0200 Subject: [PATCH] Update RateCalculatorInterface (#4851) --- src/Timesheet/Calculator/RateCalculator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Timesheet/Calculator/RateCalculator.php b/src/Timesheet/Calculator/RateCalculator.php index 35fbaff2..1b4e2817 100644 --- a/src/Timesheet/Calculator/RateCalculator.php +++ b/src/Timesheet/Calculator/RateCalculator.php @@ -11,14 +11,14 @@ namespace App\Timesheet\Calculator; use App\Entity\Timesheet; use App\Timesheet\CalculatorInterface; -use App\Timesheet\RateService; +use App\Timesheet\RateServiceInterface; /** * Implementation to calculate the rate for a timesheet record. */ final class RateCalculator implements CalculatorInterface { - public function __construct(private RateService $service) + public function __construct(private RateServiceInterface $service) { }