mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove short array syntax
This commit is contained in:
parent
c755f77288
commit
38a7e1c2d2
@ -3711,7 +3711,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
public function summaryFields() {
|
public function summaryFields() {
|
||||||
$rawFields = $this->stat('summary_fields');
|
$rawFields = $this->stat('summary_fields');
|
||||||
|
|
||||||
$fields = [];
|
$fields = array();
|
||||||
// Merge associative / numeric keys
|
// Merge associative / numeric keys
|
||||||
if (is_array($rawFields)) {
|
if (is_array($rawFields)) {
|
||||||
foreach ($rawFields as $key => $value) {
|
foreach ($rawFields as $key => $value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user