diff --git a/src/Symfony/Component/Security/Core/Util/StringUtils.php b/src/Symfony/Component/Security/Core/Util/StringUtils.php index b13408aaf7..2e8925d4a6 100644 --- a/src/Symfony/Component/Security/Core/Util/StringUtils.php +++ b/src/Symfony/Component/Security/Core/Util/StringUtils.php @@ -55,6 +55,6 @@ class StringUtils } // They are only identical strings if $result is exactly 0... - return $result === 0; + return 0 === $result; } }