Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
phpfui committed Nov 15, 2024
1 parent 7c69516 commit 557de6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/ConstantContact/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function getBody() : string
*
* If a Guzzle factory has been set, then the factory method will be called.
*
* @param array<string, string> $headers override the default headers
* @param array<string, int|string> $headers override the default headers
*/
public function getGuzzleClient(string $body = '', array $headers = []) : \GuzzleHttp\Client
{
Expand Down Expand Up @@ -377,9 +377,11 @@ public function removeScope(string $scope) : self
*
* @see [graham-campbell/guzzle-factory](https://packagist.org/packages/graham-campbell/guzzle-factory) for an example factory
*/
public function setGuzzleFactory(?callable $factory) : void
public function setGuzzleFactory(?callable $factory) : self
{
$this->guzzleFactory = $factory;

return $this;
}

public function setHost(string $host) : self
Expand Down
2 changes: 1 addition & 1 deletion src/ConstantContact/Definition/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public function getData() : array
/**
* @return array all the valid fields for the object. Index is field name and value is the type.
*/
public function getfields() : array
public function getFields() : array
{
return static::$fields;
}
Expand Down

0 comments on commit 557de6a

Please sign in to comment.