diff --git a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php index a6bd6ac..ecfece8 100644 --- a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php +++ b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php @@ -463,7 +463,7 @@ public function submitOptionsForm(&$form, FormStateInterface $form_state) { // validation options. if (empty($option_values['specify_validation'])) { $option_values['validate']['type'] = 'none'; - $option_values['validate']['options'] = array(); + $option_values['validate']['options'] = ['none' => []]; $option_values['validate']['fail'] = 'not found'; }