Update RateCalculatorInterface (#4851)

This commit is contained in:
Habibhaidari1
2024-05-17 22:55:08 +02:00
committed by GitHub
parent e042ef6bfa
commit e2c511cf46

View File

@@ -11,14 +11,14 @@ namespace App\Timesheet\Calculator;
use App\Entity\Timesheet; use App\Entity\Timesheet;
use App\Timesheet\CalculatorInterface; use App\Timesheet\CalculatorInterface;
use App\Timesheet\RateService; use App\Timesheet\RateServiceInterface;
/** /**
* Implementation to calculate the rate for a timesheet record. * Implementation to calculate the rate for a timesheet record.
*/ */
final class RateCalculator implements CalculatorInterface final class RateCalculator implements CalculatorInterface
{ {
public function __construct(private RateService $service) public function __construct(private RateServiceInterface $service)
{ {
} }