From 7221efc0953a8fcfa8a34a7aff0fb9c7a0848223 Mon Sep 17 00:00:00 2001 From: Scott Arciszewski Date: Mon, 23 Mar 2015 06:31:32 -0400 Subject: [PATCH] Whitespace --- src/Symfony/Component/Security/Core/Util/StringUtils.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Security/Core/Util/StringUtils.php b/src/Symfony/Component/Security/Core/Util/StringUtils.php index 8cbd191a79..62dccd8a62 100644 --- a/src/Symfony/Component/Security/Core/Util/StringUtils.php +++ b/src/Symfony/Component/Security/Core/Util/StringUtils.php @@ -63,10 +63,10 @@ class StringUtils // They are only identical strings if $result is exactly 0... return 0 === $result; } - + /** * Return the number of bytes in a string - * + * * @param string $string The string whose length we wish to obtain * @return int */ @@ -75,6 +75,7 @@ class StringUtils if (function_exists('mb_strlen')) { return mb_strlen($string, '8bit'); } + return strlen($string); } }