Skip to content

Commit fed617c

Browse files
committed
Code style fixes
1 parent 1843976 commit fed617c

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

lib/Client.php

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,14 @@ class Client
4545
* @param array $curlOptions extra options to set during curl initialization
4646
* @param bool $retryOnLimit set default retry on limit flag
4747
*/
48-
public function __construct($host, $headers = null, $version = null, $path = null, $curlOptions = null, $retryOnLimit = false)
49-
{
48+
public function __construct(
49+
$host,
50+
$headers = null,
51+
$version = null,
52+
$path = null,
53+
$curlOptions = null,
54+
$retryOnLimit = false
55+
) {
5056
$this->host = $host;
5157
$this->headers = $headers ?: [];
5258
$this->version = $version;
@@ -135,10 +141,10 @@ private function buildUrl($queryParams = null)
135141
* Make the API call and return the response. This is separated into
136142
* it's own function, so we can mock it easily for testing.
137143
*
138-
* @param string $method the HTTP verb
139-
* @param string $url the final url to call
140-
* @param array $body request body
141-
* @param array $headers any additional request headers
144+
* @param string $method the HTTP verb
145+
* @param string $url the final url to call
146+
* @param array $body request body
147+
* @param array $headers any additional request headers
142148
* @param bool $retryOnLimit should retry if rate limit is reach?
143149
*
144150
* @return Response object

0 commit comments

Comments
 (0)