From 1752de41acf068832a9bb7324688b7883c364728 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 30 Dec 2021 21:39:40 +0000 Subject: [PATCH] Issue #3249859 by apaderno: The documentation page for NestedArray::unsetValue() shows example code that uses NestedArray::unset_nested_value() --- core/lib/Drupal/Component/Utility/NestedArray.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Component/Utility/NestedArray.php b/core/lib/Drupal/Component/Utility/NestedArray.php index 86c73099ebd9..0521c0d59701 100644 --- a/core/lib/Drupal/Component/Utility/NestedArray.php +++ b/core/lib/Drupal/Component/Utility/NestedArray.php @@ -194,7 +194,7 @@ public static function setValue(array &$array, array $parents, $value, $force = * * Instead, use this helper function: * @code - * NestedArray::unset_nested_value($form, $parents, $element); + * NestedArray::unsetValue($form, $parents, $element); * @endcode * * However if the number of array parent keys is static, the value should -- GitLab