Skip to content

Commit

Permalink
Fixed phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
jantinnerezo committed May 14, 2024
1 parent dd156bb commit 5d9f75a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Contracts/GuestResourceContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

interface GuestResourceContract
{
/**
* @param array<string, mixed> $query
*/
public function list(array $query): Response;

public function validateCode(string $code): Response;
Expand Down
3 changes: 3 additions & 0 deletions src/Requests/Guest/ListRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class ListRequest extends Request
{
protected Method $method = Method::GET;

/**
* @param array<string, mixed> $additionalQuery
*/
public function __construct(protected array $additionalQuery) {}

public function resolveEndpoint(): string
Expand Down

0 comments on commit 5d9f75a

Please sign in to comment.