diff --git a/core/lib/Drupal/Core/Form/FormBuilder.php b/core/lib/Drupal/Core/Form/FormBuilder.php index 2598bc3c51..023a66151e 100644 --- a/core/lib/Drupal/Core/Form/FormBuilder.php +++ b/core/lib/Drupal/Core/Form/FormBuilder.php @@ -769,7 +769,7 @@ public function prepareForm($form_id, &$form, FormStateInterface &$form_state) { '#id' => Html::getUniqueId('edit-' . $form_id . '-form-token'), '#type' => 'token', '#default_value' => $placeholder, - // Form processing and validation require this value. Ensure the + // Form processing and validation requires this value. Ensure the // submitted form value appears literally, regardless of custom #tree // and #parents being set elsewhere. '#parents' => ['form_token'], @@ -1402,7 +1402,7 @@ protected function getFileUploadMaxSize() { * Gets the current active user. * * @return \Drupal\Core\Session\AccountInterface - * The current account + * The current account. */ protected function currentUser() { if (!$this->currentUser && \Drupal::hasService('current_user')) {