Skip to content

Commit

Permalink
OXDEV-8345: Change type hints for arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelOxid committed Jun 6, 2024
1 parent 4818e54 commit ec69a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataType/Filter/AbstractNumberFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function addToQuery(QueryBuilder $builder, string $field): void
}
}

protected function atLeastOneIsNotNull(array ...$values): bool
protected function atLeastOneIsNotNull(mixed ...$values): bool
{
$result = array_map('is_null', $values);
if (in_array(false, $result, true)) {
Expand All @@ -64,7 +64,7 @@ protected function atLeastOneIsNotNull(array ...$values): bool
return false;
}

protected static function checkRangeOfBetween(?array $between, string $checkMethod): void
protected static function checkRangeOfBetween(?array $between, callable $checkMethod): void
{
if (
$between !== null && (
Expand Down

0 comments on commit ec69a9e

Please sign in to comment.