Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Janda committed Oct 19, 2021
1 parent 27ef5d4 commit 1b3f921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Files/TestingPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public function handleDoStuff(int $id): void
/**
* {@inheritDoc}
*/
public function link(string $destination, $args = []): string
public function link(string $destination, ...$args): string
{
return $destination . '?' . http_build_query($args);
return $destination . '?' . http_build_query($args[0]);
}


Expand Down

0 comments on commit 1b3f921

Please sign in to comment.