diff --git a/core/modules/file/tests/file_module_test/src/Form/FileModuleTestValidationForm.php b/core/modules/file/tests/file_module_test/src/Form/FileModuleTestValidationForm.php index 9674b09..e6a0306 100644 --- a/core/modules/file/tests/file_module_test/src/Form/FileModuleTestValidationForm.php +++ b/core/modules/file/tests/file_module_test/src/Form/FileModuleTestValidationForm.php @@ -44,18 +44,18 @@ public function buildForm(array $form, FormStateInterface $form_state, $validati return FALSE; } - $form['file'] = array( + $form['file'] = [ '#type' => 'managed_file', '#title' => $this->t('Managed File'), '#upload_location' => 'public://test', '#progress_message' => $this->t('Please wait...'), '#upload_validators' => $validator, - ); + ]; - $form['submit'] = array( + $form['submit'] = [ '#type' => 'submit', '#value' => $this->t('Save'), - ); + ]; return $form; }