From faef09eaef8b8138efdc50fffc125fc9e0291de8 Mon Sep 17 00:00:00 2001 From: xjm Date: Tue, 19 Jul 2016 09:16:16 +0200 Subject: [PATCH] Issue #2752533 by mikeker: \Drupal\Component\Utility\Crypt::randomBytesBase64 docblock refers to $byte_count instead of $count --- core/lib/Drupal/Component/Utility/Crypt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Component/Utility/Crypt.php b/core/lib/Drupal/Component/Utility/Crypt.php index 2c18d914ba..ace4ebda1a 100644 --- a/core/lib/Drupal/Component/Utility/Crypt.php +++ b/core/lib/Drupal/Component/Utility/Crypt.php @@ -123,7 +123,7 @@ public static function hashEquals($known_string, $user_string) { * The number of random bytes to fetch and base64 encode. * * @return string - * The base64 encoded result will have a length of up to 4 * $byte_count. + * The base64 encoded result will have a length of up to 4 * $count. * * @see \Drupal\Component\Utility\Crypt::randomBytes() */ -- GitLab