Skip to content

Commit

Permalink
php 8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
loki84nl committed Aug 26, 2021
1 parent 09339cd commit eb50b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function post(string $endpoint, array $data = []): ?array
}

/**
* @param string $method = 'GET'
* @param string $method
* @param string $endpoint
* @param array $data = []
* @param array $query = []
Expand All @@ -74,7 +74,7 @@ public function post(string $endpoint, array $data = []): ?array
*
* @return array
*/
public function request(string $method = 'GET', string $endpoint, array $data = [], array $query = []): ?array
public function request(string $method, string $endpoint, array $data = [], array $query = []): ?array
{
$client = new GuzzleClient([
'base_uri' => self::BASE_URI
Expand Down

0 comments on commit eb50b02

Please sign in to comment.