kylekatarnls / business-time

Carbon mixin to handle business days and opening hours
MIT License
297 stars 14 forks source link

Method Carbon\CarbonImmutable::swapDateTimeParam does not exist. #65

Closed TNTLarsn closed 1 year ago

TNTLarsn commented 1 year ago

getting an Exception when calling getHolidayName Method using BusinessTime\Schedule and CarbonImmutable Maybe related to (https://github.com/kylekatarnls/business-time/issues/62)?

https://phpsandbox.io/e/x/wb05t?layout=EditorPreview&defaultPath=%2F&theme=dark&showExplorer=no&openedFiles=

kylekatarnls commented 1 year ago

Thanks for the report, it will be fixed in the next release of cmixin/business-day

kylekatarnls commented 1 year ago

You can now composer u cmixin/business-day to get the version 1.16.3 and it will fix this issue.