Skip to content

Commit 5bf8258

Browse files
Replace null as array key with an empty string, null as array key is deprecated in PHP-8.5
1 parent 2efcff4 commit 5bf8258

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/forms/DimensionsForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function assemble()
7979
$allDimensions = $this->cube->listAdditionalDimensions();
8080

8181
$this->addElement('select', 'addDimension', [
82-
'options' => [null => $this->translate('+ Add a dimension')] + $allDimensions,
82+
'options' => ['' => $this->translate('+ Add a dimension')] + $allDimensions,
8383
'class' => 'autosubmit'
8484
]);
8585
}

0 commit comments

Comments
 (0)