If you visit the profile of an employee with no holiday balance (null) while in debug mode, you'll see in the log messages tab of laravel debugbar the following message:
round(): Passing null to parameter #1 ($num) of type int|float is deprecated in app/Models/Company/Employee.php on line 828
This is due to the new change in PHP 8 that deprecates passing null to non-nullable function parameters.
If you visit the profile of an employee with no holiday balance (
null
) while in debug mode, you'll see in the log messages tab of laravel debugbar the following message:This is due to the new change in PHP 8 that deprecates passing
null
to non-nullable function parameters.I'll propose a fix soon.