Skip to content

Commit 0ff220b

Browse files
committed
Pass filter by reference
1 parent 976827d commit 0ff220b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Filterer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ private static function assertFilterIsNotArray($filter, string $field)
414414
}
415415
}
416416

417-
private static function validateCustomError(array $filters, string $field)
417+
private static function validateCustomError(array &$filters, string $field)
418418
{
419419
$customError = null;
420420
if (array_key_exists('error', $filters)) {

0 commit comments

Comments
 (0)