forked from Snck3rs/contao-leaflet-maps
Convert array syntax and other minor code style adjustments.
This commit is contained in:
@@ -108,9 +108,9 @@ class MarkerClusterLayerMapper extends AbstractLayerMapper
|
||||
}
|
||||
|
||||
$collection = LayerModel::findBy(
|
||||
array('pid=?', 'active=1'),
|
||||
array($model->id),
|
||||
array('order' => 'sorting')
|
||||
['pid=?', 'active=1'],
|
||||
[$model->id],
|
||||
['order' => 'sorting']
|
||||
);
|
||||
|
||||
if ($collection) {
|
||||
|
||||
Reference in New Issue
Block a user