mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 12:33:45 +01:00
Convert array syntax and other minor code style adjustments.
This commit is contained in:
@@ -28,13 +28,13 @@ class DataController
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $input = array(
|
||||
private $input = [
|
||||
'format' => 'geojson',
|
||||
'type' => 'layer',
|
||||
'id' => null,
|
||||
'filter' => null,
|
||||
'values' => null
|
||||
);
|
||||
'values' => null,
|
||||
];
|
||||
|
||||
/**
|
||||
* Debug mode.
|
||||
@@ -140,9 +140,9 @@ class DataController
|
||||
default:
|
||||
$error = true;
|
||||
|
||||
return array($data, $error);
|
||||
return [$data, $error];
|
||||
}
|
||||
|
||||
return array($data, $error);
|
||||
return [$data, $error];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user