Skip to content

Commit

Permalink
Update type phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Apr 10, 2021
1 parent 0ef688b commit 5ed40e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Filter/ChoiceFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function getRenderSettings(): array
/**
* @param mixed[] $data
*
* @phpstan-param array{type: string|int|null, value: mixed} $data
* @phpstan-param array{type: int|null, value: mixed} $data
*/
private function filterWithMultipleValues(ProxyQueryInterface $query, string $alias, string $field, array $data): void
{
Expand Down Expand Up @@ -88,7 +88,7 @@ private function filterWithMultipleValues(ProxyQueryInterface $query, string $al
/**
* @param mixed[] $data
*
* @phpstan-param array{type: string|int|null, value: mixed} $data
* @phpstan-param array{type: int|null, value: mixed} $data
*/
private function filterWithSingleValue(ProxyQueryInterface $query, string $alias, string $field, array $data): void
{
Expand Down
2 changes: 1 addition & 1 deletion src/Filter/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function isActive(): bool
*
* @return string[]
*
* @phpstan-param array{type?: string|int|null, value?: mixed} $data
* @phpstan-param array{type?: int|null, value?: mixed} $data
*/
protected function association(ProxyQueryInterface $query, array $data): array
{
Expand Down

0 comments on commit 5ed40e6

Please sign in to comment.