diff --git a/core/includes/ajax.inc b/core/includes/ajax.inc index dc36d68..e2d7bba 100644 --- a/core/includes/ajax.inc +++ b/core/includes/ajax.inc @@ -109,7 +109,7 @@ * status-messages.html.twig, will be prepended. * * To return commands, you need to set up an object of class - * \Drupal\Core\Ajax\AjaxResponse, and then use its addCommand() object to add + * \Drupal\Core\Ajax\AjaxResponse, and then use its addCommand() method to add * individual commands to it. In the date format preview example, the format * output is calculated, and then it is returned as replacement markup for a div * like this: @@ -123,7 +123,7 @@ * The individual commands that you can return implement interface * \Drupal\Core\Ajax\CommandInterface. Available commands provide the ability * to pop up alerts, manipulate text and markup in various ways, redirect - * to a new URL, and the generic \Drupal\Core\Ajax\InvokeCmmand, which + * to a new URL, and the generic \Drupal\Core\Ajax\InvokeCommand, which * invokes an arbitrary jQuery commnd. * * As noted above, status messages are prepended automatically if you use the