Skip to content

Commit

Permalink
Parameter #2 $stack of method LastDragon_ru\LaraASP\GraphQL\SearchBy\…
Browse files Browse the repository at this point in the history
…Ast\Usage<T>::values() expects array<T>, array<string|T> given.
  • Loading branch information
LastDragon-ru committed Aug 14, 2021
1 parent d077f53 commit 331e29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/graphql/src/SearchBy/Ast/Usage.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function addType(string $type): void {
}

/**
* @param T $value
* @param T ...$value
*/
public function addValue(mixed ...$value): void {
$current = array_key_last($this->stack);
Expand Down Expand Up @@ -107,7 +107,7 @@ public function end(int $id): static {
}

/**
* @param array<T> $stack
* @param array<string> $stack
*
* @return array<T>
*/
Expand Down

0 comments on commit 331e29a

Please sign in to comment.