We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d13f9f0 commit 590062aCopy full SHA for 590062a
lib/internal/Magento/Framework/Encryption/Helper/Security.php
@@ -21,8 +21,6 @@ class Security
21
*/
22
public static function compareStrings($expected, $actual)
23
{
24
- $expected = (string) $expected;
25
- $actual = (string) $actual;
26
- return hash_equals($expected, $actual);
+ return hash_equals((string) $expected, (string) $actual);
27
}
28
0 commit comments