From 7dcdaa43c7533fcbfdd2c56f1bd17c33c4271acb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 23 Jun 2024 14:49:42 +0200 Subject: [PATCH] =?UTF-8?q?Add=20parameter=20type=20to=20`Base32::doEncode?= =?UTF-8?q?()`=E2=80=99s=20`$pad`=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Base32.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Base32.php b/src/Base32.php index 48d00b9..b6317ff 100644 --- a/src/Base32.php +++ b/src/Base32.php @@ -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