summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2016-02-17 12:47:49 (GMT)
committerNathaniel Catchpole2016-02-17 12:47:49 (GMT)
commit563cbe96a88cc3fde4b1eb0295c2d5bda84ffec8 (patch)
treea88cb2110be4e043a14687a2b17b60bd53b1adcd
parent8fd7d9ba93bf19e49f67353f015d12a3e30dd0a2 (diff)
Issue #2668926 by DuaelFr: ReplaceCommand minor documentation glitch
-rw-r--r--core/lib/Drupal/Core/Ajax/InsertCommand.php2
-rw-r--r--core/lib/Drupal/Core/Ajax/ReplaceCommand.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/lib/Drupal/Core/Ajax/InsertCommand.php b/core/lib/Drupal/Core/Ajax/InsertCommand.php
index 8c477f5..e4b5dc0 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 615f4eb..5d14f44 100644
--- a/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
+++ b/core/lib/Drupal/Core/Ajax/ReplaceCommand.php
@@ -11,8 +11,8 @@ namespace Drupal\Core\Ajax;
* 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.