Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -26,7 +26,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('MAPS_SERVICE','yandex'),
|
||||
'default' => env('MAPS_SERVICE', 'yandex'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -80,7 +80,6 @@ return [
|
||||
'type' => 'map', // 'map', 'hybrid', 'satellite', 'light', 'dark'
|
||||
],
|
||||
|
||||
|
||||
'mapkit' => [
|
||||
// https://developer.apple.com/videos/play/wwdc2018/508
|
||||
// https://developer.apple.com/documentation/mapkitjs/setting_up_mapkit_js?changes=latest_minor
|
||||
@@ -92,7 +91,6 @@ return [
|
||||
|
||||
],
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maps Enabled
|
||||
|
||||
@@ -22,8 +22,9 @@ class MapsServiceProvider extends BaseServiceProvider
|
||||
$view->with('service', config('vendor.maps.default'));
|
||||
}
|
||||
if (!isset($view->enabled)) {
|
||||
$view->with('enabled', config('vendor.maps.enabled'));
|
||||
$view->with('enabled', config('vendor.maps.enabled'));
|
||||
}
|
||||
|
||||
return $view;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user