LaravelRUS / localized-carbon

A localizable version of Carbon
138 stars 62 forks source link

Declaration of Laravelrus\LocalizedCarbon\LocalizedCarbon::diffForHumans(?Carbon\Carbon $other = NULL, $formatter = NULL) should be compatible with Carbon\Carbon::diffForHumans($other = NULL, $absolute = false, $short = false, $parts = 1) (View: resources/views/events/index.blade.php) #103

Closed osbre closed 5 years ago

osbre commented 5 years ago

I use:

I have error:

Declaration of Laravelrus\LocalizedCarbon\LocalizedCarbon::diffForHumans(?Carbon\Carbon $other = NULL, $formatter = NULL) should be compatible with Carbon\Carbon::diffForHumans($other = NULL, $absolute = false, $short = false, $parts = 1) (View: resources/views/events/index.blade.php)

Thanks...

osbre commented 5 years ago

https://github.com/LaravelRUS/localized-carbon/issues/92 https://github.com/LaravelRUS/localized-carbon/issues/94