mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-01-13 10:55:17 +01:00
Convert array syntax and other minor code style adjustments.
This commit is contained in:
@@ -68,7 +68,7 @@ class BboxFilter implements Filter
|
||||
*/
|
||||
public function getValues()
|
||||
{
|
||||
return array('bounds' => $this->bounds);
|
||||
return ['bounds' => $this->bounds];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -88,9 +88,9 @@ class DistanceFilter implements Filter
|
||||
*/
|
||||
public function getValues()
|
||||
{
|
||||
return array(
|
||||
return [
|
||||
'radius' => $this->radius,
|
||||
'center' => $this->center
|
||||
);
|
||||
'center' => $this->center,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user