Closed o2-web closed 6 years ago
We've recently fixed the package to be compatible with the latest Carbon, laravel 5.3 uses older version of Carbon. Try upgrading Carbon dependency to ^1.24.
@Amegatron Carbon version "1.24.2" already
@02-web That's strange, I've checked recently and package works fine with 1.24. Maybe you have older version of the package (e.g. composer cache)?
@Amegatron I updated both packages and the error was gone. Thank you!
me too have this error in laravel 5.7, php 7.2
ErrorException with message 'Declaration of Laravelrus\LocalizedCarbon\LocalizedCarbon::diffForHumans() should be compatible with Carbon\Carbon::diffForHumans(Carbon\Carbon $other = NULL, $absolute = false, $short = false, $parts = 1)'
recently updated the package and this error appeared
laravel 5.3 localized-carbon version "dev-master"
steps to reproduce error: