Skip to content

Commit

Permalink
Merge pull request #60 from TimWolla/pad-parameter-type
Browse files Browse the repository at this point in the history
Add parameter type to `Base32::doEncode()`’s `$pad` parameter
  • Loading branch information
paragonie-security authored Jun 25, 2024
2 parents df1e7fd + 7dcdaa4 commit 4514d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base32.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ protected static function doEncode(
#[\SensitiveParameter]
string $src,
bool $upper = false,
$pad = true
bool $pad = true
): string {
// We do this to reduce code duplication:
$method = $upper
Expand Down

0 comments on commit 4514d25

Please sign in to comment.