File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 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
218218 *
219219 * If a Guzzle factory has been set, then the factory method will be called.
220220 *
221- * @param array<string, string> $headers override the default headers
221+ * @param array<string, int| string> $headers override the default headers
222222 */
223223 public function getGuzzleClient (string $ body = '' , array $ headers = []) : \GuzzleHttp \Client
224224 {
@@ -377,9 +377,11 @@ public function removeScope(string $scope) : self
377377 *
378378 * @see [graham-campbell/guzzle-factory](https://packagist.org/packages/graham-campbell/guzzle-factory) for an example factory
379379 */
380- public function setGuzzleFactory (?callable $ factory ) : void
380+ public function setGuzzleFactory (?callable $ factory ) : self
381381 {
382382 $ this ->guzzleFactory = $ factory ;
383+
384+ return $ this ;
383385 }
384386
385387 public function setHost (string $ host ) : self
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ public function getData() : array
301301 /**
302302 * @return array all the valid fields for the object. Index is field name and value is the type.
303303 */
304- public function getfields () : array
304+ public function getFields () : array
305305 {
306306 return static ::$ fields ;
307307 }
You can’t perform that action at this time.
0 commit comments