forked from Snck3rs/contao-leaflet-maps
Convert array syntax and other minor code style adjustments.
This commit is contained in:
@@ -71,18 +71,18 @@ class MarkersLayerMapper extends AbstractLayerMapper implements GeoJsonMapper
|
||||
$layer->setOption('boundsMode', $model->boundsMode);
|
||||
}
|
||||
|
||||
return array(
|
||||
return [
|
||||
$this->getElementId($model, $elementId),
|
||||
RequestUrl::create($model->id, null, null, $request),
|
||||
array(),
|
||||
$layer
|
||||
);
|
||||
[],
|
||||
$layer,
|
||||
];
|
||||
}
|
||||
|
||||
return array(
|
||||
return [
|
||||
$this->getElementId($model, $elementId),
|
||||
RequestUrl::create($model->id, null, null, $request)
|
||||
);
|
||||
RequestUrl::create($model->id, null, null, $request),
|
||||
];
|
||||
}
|
||||
|
||||
return parent::buildConstructArguments($model, $mapper, $request, $elementId);
|
||||
|
||||
Reference in New Issue
Block a user