laravel / nova-issues

553 stars 34 forks source link

Deprecation Warning round(): Passing null to parameter, again #6331

Closed niekdemelker closed 6 months ago

niekdemelker commented 6 months ago

Description:

Same as #6296 only different place.

round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/project/vendor/laravel/nova/src/Metrics/Trend.php on line 521

After checking the filebase for more uses of the round(), I suspect /home/project/vendor/laravel/nova/src/Metrics/Partition.php on line 146 will also throw this error.

Searching the code, is think these are the final places where this error occurs.

Detailed steps to reproduce the issue on a fresh Nova installation:

Same as #6296

github-actions[bot] commented 6 months ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.