summaryrefslogtreecommitdiffstats
path: root/Core/Util/StringUtils.php
diff options
context:
space:
mode:
authorScott Arciszewski <scott@arciszewski.me>2015-03-23 06:31:32 -0400
committerFabien Potencier <fabien.potencier@gmail.com>2015-03-25 10:28:01 +0100
commit5baa64270854c29298ddca9a8952361fbcfce889 (patch)
tree094c6a79dab2a3f9bfb53a9ae5cca424437a3643 /Core/Util/StringUtils.php
parent6a162c7ca4e72005d87d458af01082944d94552a (diff)
downloadsymfony-security-5baa64270854c29298ddca9a8952361fbcfce889.zip
symfony-security-5baa64270854c29298ddca9a8952361fbcfce889.tar.gz
symfony-security-5baa64270854c29298ddca9a8952361fbcfce889.tar.bz2
Whitespace
Diffstat (limited to 'Core/Util/StringUtils.php')
-rw-r--r--Core/Util/StringUtils.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Core/Util/StringUtils.php b/Core/Util/StringUtils.php
index 8cbd191..62dccd8 100644
--- a/Core/Util/StringUtils.php
+++ b/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);
}
}