forked from Snck3rs/contao-leaflet-maps
Fix Code style.
This commit is contained in:
@@ -122,6 +122,7 @@ class LeafletDcaListener
|
||||
$data['marker'] = json_encode($latLng);
|
||||
} catch (\Exception $e) {
|
||||
// LatLng throws an exception of value could not be created. Just let the value empty when.
|
||||
$data['marker'] = null;
|
||||
}
|
||||
|
||||
return $this->templateEngine->render('toolkit:be:be_leaflet_geocode.html5', $data);
|
||||
|
||||
@@ -44,7 +44,7 @@ class MarkerModel extends AbstractActiveModel
|
||||
public static function findByFilter($pid, ?Filter $filter = null)
|
||||
{
|
||||
if (!$filter) {
|
||||
$table = static::getTable();
|
||||
$table = static::getTable();
|
||||
|
||||
return static::findBy(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user