Skip to content

Commit

Permalink
deps: allow brick/math 0.12
Browse files Browse the repository at this point in the history
deps: other dev deps update
  • Loading branch information
Spomky committed Jan 29, 2024
1 parent 7bdb599 commit 7cef9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/OtherObject/AllTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,6 @@ public static function getDoublePrecisionFloatObject(): Iterator

private static function bitsToByteString(string $data, int $length): string
{
return mb_str_pad(BigInteger::fromBase($data, 2)->toBytes(false), $length, "\0", STR_PAD_LEFT);
return str_pad(BigInteger::fromBase($data, 2)->toBytes(false), $length, "\0", STR_PAD_LEFT);
}
}

0 comments on commit 7cef9d7

Please sign in to comment.