Skip to content

Commit

Permalink
NGSTACK-822 type hint to array parameter of function added
Browse files Browse the repository at this point in the history
  • Loading branch information
Miljenko Muha committed Feb 7, 2024
1 parent 1bf16fd commit 3a3e82b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundle/QueryType/SearchQueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ private function sortKeyAllowed(string $key): bool
return array_key_exists(trim($key), $this->sortKeysAllowed);
}

/**
* @param string[] $keys
* @return bool
*/
private function sortKeysAllowed(array $keys): bool
{
foreach ($keys as $key) {
Expand Down

0 comments on commit 3a3e82b

Please sign in to comment.