¨4.0.1¨
This commit is contained in:
@@ -13,9 +13,9 @@ class ShippingServiceProvider extends ServiceProvider
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
public function boot(): void
|
||||
{
|
||||
if (! config('app.installed')) {
|
||||
if (!config('app.installed')) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -24,9 +24,10 @@ class ShippingServiceProvider extends ServiceProvider
|
||||
$this->registerFlatRate();
|
||||
}
|
||||
|
||||
|
||||
private function registerFreeShipping()
|
||||
{
|
||||
if (! setting('free_shipping_enabled')) {
|
||||
if (!setting('free_shipping_enabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -35,9 +36,10 @@ class ShippingServiceProvider extends ServiceProvider
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private function registerLocalPickup()
|
||||
{
|
||||
if (! setting('local_pickup_enabled')) {
|
||||
if (!setting('local_pickup_enabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -46,9 +48,10 @@ class ShippingServiceProvider extends ServiceProvider
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private function registerFlatRate()
|
||||
{
|
||||
if (! setting('flat_rate_enabled')) {
|
||||
if (!setting('flat_rate_enabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user