Skip to content

Commit 4d9f007

Browse files
cheesegritsgithub-actions[bot]
authored andcommitted
chore: fix code style
1 parent 917dcde commit 4d9f007

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/Infolists/MapEntry.php

+18-18
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ class MapEntry extends Entry
4141
* Main field config variables
4242
*/
4343
private array $mapConfig = [
44-
'defaultLocation' => [
44+
'defaultLocation' => [
4545
'lat' => 15.3419776,
4646
'lng' => 44.2171392,
4747
],
48-
'controls' => [],
49-
'drawingField' => null,
50-
'statePath' => '',
51-
'layers' => [],
52-
'defaultZoom' => 8,
53-
'gmaps' => '',
48+
'controls' => [],
49+
'drawingField' => null,
50+
'statePath' => '',
51+
'layers' => [],
52+
'defaultZoom' => 8,
53+
'gmaps' => '',
5454
];
5555

5656
private array $componentTree = [];
@@ -250,18 +250,18 @@ public function getMapsUrl(): string
250250
public function getMapConfig(): string
251251
{
252252
$config = array_merge($this->mapConfig, [
253-
'defaultLocation' => $this->getDefaultLocation(),
254-
'statePath' => $this->getStatePath(),
255-
'controls' => $this->getMapControls(false),
256-
'drawingField' => $this->getDrawingField(),
257-
'layers' => $this->getLayers(),
258-
'defaultZoom' => $this->getDefaultZoom(),
259-
'geoJson' => $this->getGeoJsonFile(),
260-
'geoJsonProperty' => $this->getGeoJsonProperty(),
261-
'geoJsonVisible' => $this->getGeoJsonVisible(),
262-
'gmaps' => MapsHelper::mapsUrl(false, $this->getDrawingControl() ? ['drawing'] : []),
253+
'defaultLocation' => $this->getDefaultLocation(),
254+
'statePath' => $this->getStatePath(),
255+
'controls' => $this->getMapControls(false),
256+
'drawingField' => $this->getDrawingField(),
257+
'layers' => $this->getLayers(),
258+
'defaultZoom' => $this->getDefaultZoom(),
259+
'geoJson' => $this->getGeoJsonFile(),
260+
'geoJsonProperty' => $this->getGeoJsonProperty(),
261+
'geoJsonVisible' => $this->getGeoJsonVisible(),
262+
'gmaps' => MapsHelper::mapsUrl(false, $this->getDrawingControl() ? ['drawing'] : []),
263263
]);
264-
264+
265265
return json_encode($config);
266266
}
267267

0 commit comments

Comments
 (0)