Skip to content

Commit

Permalink
Merge pull request #57 from PhilETaylor/patch-1
Browse files Browse the repository at this point in the history
Private methods cannot be final as they are never overridden by other classes
  • Loading branch information
paragonie-security authored Nov 13, 2020
2 parents 2febd70 + 1ca3cfe commit d9f99eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public static function stringToFloat($string)
/**
* @return bool|null
*/
private static final function getWrongEndianness()
private static function getWrongEndianness()
{
$x = \pack('d', 1.618);
if ($x === "\x17\xd9\xce\xf7\x53\xe3\xf9\x3f") {
Expand Down

0 comments on commit d9f99eb

Please sign in to comment.