+ operator doesn't merge. Replaced by array_merge method.

This commit is contained in:
İzni Burak Demirtaş committed 2017-10-26 10:37:42 +03:00
1 parent 2f6dc39ab3
commit b39f510897
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -722,7 +722,7 @@ class FormBuilder
{
$selected = $this->getSelectedValue($value, $selected);
$options = ['value' => $value, 'selected' => $selected] + $attributes;
$options = array_merge(['value' => $value, 'selected' => $selected], $attributes);
return $this->toHtmlString('<option' . $this->html->attributes($options) . '>' . e($display) . '</option>');
}