Closed kondratovbr closed 10 months ago
Trend creation fails when the app uses CarbonImmutable variant of Carbon because the package type hints timestamps as Illuminate\Support\Carbon objects. This is easily worked around by type hinting CarbonInterface instead.
CarbonImmutable
Illuminate\Support\Carbon
CarbonInterface
I think this one is good. why close it?
Description
Trend creation fails when the app uses
CarbonImmutable
variant of Carbon because the package type hints timestamps asIlluminate\Support\Carbon
objects. This is easily worked around by type hintingCarbonInterface
instead.