Skip to content

Commit 9887190

Browse files
committed
Resolve issue with int and other types being sent as headers
1 parent 29e09ce commit 9887190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Masking/FieldMasker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ public function mask(array $data): array
7777

7878
/**
7979
* Check if the field is a Header.
80-
* @param string $name
80+
* @param int|bool|float|string|null $name
8181
* @return bool
8282
*/
83-
private function isHeader(string $name): bool
83+
private function isHeader(int|bool|float|null|string $name): bool
8484
{
8585
return in_array(
8686
needle: $name,

0 commit comments

Comments
 (0)