Skip to content

Commit

Permalink
fix php73 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
machour committed Dec 7, 2022
1 parent 1cd962c commit e0ee539
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,21 @@

class Gateway
{
private string $apiKey;

private RequestFactoryInterface $requestFactory;
private StreamFactoryInterface $streamFactory;
private ClientInterface $httpClient;
private bool $productionMode;
/** @var string */
private $apiKey;
/** @var \Psr\Http\Message\RequestFactoryInterface */
private $requestFactory;
/** @var \Psr\Http\Message\StreamFactoryInterface */
private $streamFactory;
/** @var \Psr\Http\Client\ClientInterface */
private $httpClient;
/** @var bool */
private $productionMode;

public function __construct(
RequestFactoryInterface $requestFactory,
StreamFactoryInterface $streamFactory,
ClientInterface $httpClient,
ClientInterface $httpClient
)
{
$this->requestFactory = $requestFactory;
Expand Down

0 comments on commit e0ee539

Please sign in to comment.