while trying to install the plugin in a docker in environment with kimai 1.30.2
I got following message:
PHP Fatal error: Declaration of KimaiPlugin\DeductionTimeBundle\Timesheet\Calculator\DeductionTimeCalculator::calculate(App\Entity\Timesheet $record, array $changeset): void must be compatible with App\Timesheet\CalculatorInterface::calculate(App\Entity\Timesheet $record) in /opt/kimai/var/plugins/DeductionTimeBundle/Timesheet/Calculator/DeductionTimeCalculator.php on line 19
07:54:25 CRITICAL [php] Fatal Compile Error: Declaration of KimaiPlugin\DeductionTimeBundle\Timesheet\Calculator\DeductionTimeCalculator::calculate(App\Entity\Timesheet $record, array $changeset): void must be compatible with App\Timesheet\CalculatorInterface::calculate(App\Entity\Timesheet $record) ["exception" => Symfony\Component\ErrorHandler\Error\FatalError { …}]
In DeductionTimeCalculator.php line 19:
Compile Error: Declaration of KimaiPlugin\DeductionTimeBundle\Timesheet\Cal
culator\DeductionTimeCalculator::calculate(App\Entity\Timesheet $record, ar
ray $changeset): void must be compatible with App\Timesheet\CalculatorInter
face::calculate(App\Entity\Timesheet $record)
while trying to install the plugin in a docker in environment with kimai 1.30.2
I got following message: