diff --git a/core/lib/Drupal/Core/Render/Element/Radio.php b/core/lib/Drupal/Core/Render/Element/Radio.php index 5a115fb..f10fc4d 100644 --- a/core/lib/Drupal/Core/Render/Element/Radio.php +++ b/core/lib/Drupal/Core/Render/Element/Radio.php @@ -38,9 +38,10 @@ public function getInfo() { } /** - * Helper function to cast bool values to string. + * Ensures $element['#default_value'] and $element['#value'] are consistently + * typed. * - * @param bool $value + * @param mixed $value * A bool value which would be casted to string. * * @return string