laravel / nova-issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

niekdemelker opened this issue · comments

  • Laravel Version: 11.2.0
  • Nova Version: 4.33.1
  • PHP Version: 8.3.4
  • Database Driver & Version: -
  • Operating System and Version: -
  • Browser type and version: -
  • Reproduction Repository: -

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

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.