diff --git a/core/lib/Drupal/Core/Ajax/InsertCommand.php b/core/lib/Drupal/Core/Ajax/InsertCommand.php index 8c477f5a06aa07d8a1770b362bccdd58a939b4e2..e4b5dc0ca0f35c7693c685fe5832716b946e9c7e 100644 --- a/core/lib/Drupal/Core/Ajax/InsertCommand.php +++ b/core/lib/Drupal/Core/Ajax/InsertCommand.php @@ -43,7 +43,7 @@ class InsertCommand implements CommandInterface, CommandWithAttachedAssetsInterf protected $content; /** - * A settings array to be passed to any any attached JavaScript behavior. + * A settings array to be passed to any attached JavaScript behavior. * * @var array */ diff --git a/core/lib/Drupal/Core/Ajax/ReplaceCommand.php b/core/lib/Drupal/Core/Ajax/ReplaceCommand.php index 615f4eb561a7d2126d2380df173802c7b4f59909..5d14f44bac5bb163cd1cc7a91503ae5c5cfce2cd 100644 --- a/core/lib/Drupal/Core/Ajax/ReplaceCommand.php +++ b/core/lib/Drupal/Core/Ajax/ReplaceCommand.php @@ -11,8 +11,8 @@ * AJAX command for calling the jQuery replace() method. * * The 'insert/replaceWith' command instructs the client to use jQuery's - * replaceWith() method to replace each element matched matched by the given - * selector with the given HTML. + * replaceWith() method to replace each element matched by the given selector + * with the given HTML. * * This command is implemented by Drupal.AjaxCommands.prototype.insert() * defined in misc/ajax.js.