File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ public function getBody() : string
218
218
*
219
219
* If a Guzzle factory has been set, then the factory method will be called.
220
220
*
221
- * @param array<string, string> $headers override the default headers
221
+ * @param array<string, int| string> $headers override the default headers
222
222
*/
223
223
public function getGuzzleClient (string $ body = '' , array $ headers = []) : \GuzzleHttp \Client
224
224
{
@@ -377,9 +377,11 @@ public function removeScope(string $scope) : self
377
377
*
378
378
* @see [graham-campbell/guzzle-factory](https://packagist.org/packages/graham-campbell/guzzle-factory) for an example factory
379
379
*/
380
- public function setGuzzleFactory (?callable $ factory ) : void
380
+ public function setGuzzleFactory (?callable $ factory ) : self
381
381
{
382
382
$ this ->guzzleFactory = $ factory ;
383
+
384
+ return $ this ;
383
385
}
384
386
385
387
public function setHost (string $ host ) : self
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ public function getData() : array
301
301
/**
302
302
* @return array all the valid fields for the object. Index is field name and value is the type.
303
303
*/
304
- public function getfields () : array
304
+ public function getFields () : array
305
305
{
306
306
return static ::$ fields ;
307
307
}
You can’t perform that action at this time.
0 commit comments