forked from Snck3rs/contao-leaflet-maps
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