Estate-of-the-Art / finance-estate-issues

Issue Tracker for Finance Estate
2 stars 0 forks source link

Carbon\Carbon::setUnit(): Argument #2 ($value) must be of type Carbon\Month|int|float|null, string g... #12

Closed flare-error-tracker[bot] closed 2 months ago

flare-error-tracker[bot] commented 2 months ago

TypeError

Carbon\Carbon::setUnit(): Argument #2 ($value) must be of type Carbon\Month|int|float|null, string given, called in /var/task/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 2880

🎯 Carbon\Carbon::setUnit 📄 /vendor/nesbot/carbon/src/Carbon/Traits/Date.php

2496    * @param Month|int $value new value for given unit
2497    */
2498*  public function setUnit(string $unit, Month|int|float|null $value = null): static
2499   {
2500       if (\is_float($value)) {

Open in Flare

flare-error-tracker[bot] commented 2 months ago

Error Carbon\Carbon::setUnit(): Argument #2 ($value) must be of type Carbon\Month|int|float|null, string given, called in /var/task/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 2880 was resolved in Flare.