Open daika7ana opened 3 weeks ago
Takes into account Carbon v3 new default parameter value on the diffInSeconds method.
diffInSeconds
Carbon v2 method blueprint:
public function diffInSeconds($date = null, $absolute = true)
Carbon v3 method blueprint:
public function diffInSeconds($date = null, bool $absolute = false): float
Fixes failing tests: https://github.com/mikebronner/laravel-model-caching/blob/a38c905790c73c43dac09790eec7f0972cd651cc/tests/Integration/CachedModelTest.php#L180
Takes into account Carbon v3 new default parameter value on the
diffInSeconds
method.Carbon v2 method blueprint:
Carbon v3 method blueprint:
Fixes failing tests: https://github.com/mikebronner/laravel-model-caching/blob/a38c905790c73c43dac09790eec7f0972cd651cc/tests/Integration/CachedModelTest.php#L180