Skip to content

Commit

Permalink
Added missing typehint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jensdenies committed Jul 16, 2020
1 parent 3cfaccb commit 667c4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PrefetchBuffer.php
Expand Up @@ -48,7 +48,7 @@ public function getObjectsByArguments(string $prefetchMethodName, array $argumen
/**
* @param array<int,mixed> $arguments The input arguments passed from GraphQL to the field.
*/
public function purge($prefetchMethodName, array $arguments): void
public function purge(string $prefetchMethodName, array $arguments): void
{
unset($this->objects[$this->computeHash($prefetchMethodName, $arguments)]);
}
Expand Down

0 comments on commit 667c4b0

Please sign in to comment.