Skip to content

Commit 4514d25

Browse files
Merge pull request #60 from TimWolla/pad-parameter-type
Add parameter type to `Base32::doEncode()`’s `$pad` parameter
2 parents df1e7fd + 7dcdaa4 commit 4514d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base32.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ protected static function doEncode(
456456
#[\SensitiveParameter]
457457
string $src,
458458
bool $upper = false,
459-
$pad = true
459+
bool $pad = true
460460
): string {
461461
// We do this to reduce code duplication:
462462
$method = $upper

0 commit comments

Comments
 (0)