Skip to content

Commit 9c28cd7

Browse files
authored
Merge pull request #658 from rollbar/fixed/issue-657-implicitly-null-len-parameter
Fixed #657 Param $len should not be implicitly nullable.
2 parents 99eb7bd + 5d93696 commit 9c28cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utilities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function isWindows()
2929
public static function validateString(
3030
mixed $input,
3131
string $name = "?",
32-
int|array $len = null,
32+
int|array|null $len = null,
3333
bool $allowNull = true
3434
): void {
3535
if (is_null($input)) {

0 commit comments

Comments
 (0)