diff --git a/core/lib/Drupal/Core/Template/AttributeArray.php b/core/lib/Drupal/Core/Template/AttributeArray.php index 91ca332..277a9bb 100644 --- a/core/lib/Drupal/Core/Template/AttributeArray.php +++ b/core/lib/Drupal/Core/Template/AttributeArray.php @@ -72,8 +72,8 @@ public function __toString() { /** * Adds the argument values by merging them on to the value array. * - * @param string $value - * A value to add to the array. + * @param mixed $value + * A value, or array of values, to add to the array. * * @return \Drupal\Core\Template\AttributeArray * The attribute array with the arguments added. @@ -92,7 +92,7 @@ public function add($value) { * Removes the argument values from the value array. * * @param mixed $value - * A value to remove from the array. + * A value, or array of values, to remove from the array. * * @return \Drupal\Core\Template\AttributeArray * The attribute array with the arguments removed.