Using this package with a cached config (php artisan config:cache) & using the default config from the package throws the following error:
Argument 1 passed to Mtownsend\ReadTime\ReadTime::omitSeconds() must be of the type bool, null given, called in vendor/mtownsend/read-time/src/Providers/ReadTimeServiceProvider.php on line 54
I think this is due to the config being loaded in the binding. I think the mergeConfigFrom should be in the boot method of the service provider.
Using this package with a cached config (
php artisan config:cache) & using the default config from the package throws the following error:I think this is due to the config being loaded in the binding. I think the
mergeConfigFromshould be in the boot method of the service provider.