Skip to content

Commit

Permalink
Make php 7.3 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
cmesptchr committed Jul 22, 2020
1 parent 2fc347f commit e7ac1fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
}
],
"require": {
"php": "^7.4",
"guzzlehttp/guzzle": "^6",
"nesbot/carbon": "^2.36",
"ext-json": "*"
Expand Down
12 changes: 6 additions & 6 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ class Client
/**
* @var string
*/
private string $baseUrl;
private $baseUrl;

/**
* @var string
*/
private string $username;
private $username;

/**
* @var string
*/
private string $password;
private $password;

/**
* @var \GuzzleHttp\Client
*/
private \GuzzleHttp\Client $guzzle;
private $guzzle;

/**
* @var string
Expand All @@ -38,12 +38,12 @@ class Client
/**
* @var Carbon|null
*/
private ?Carbon $authenticatedAt = null;
private $authenticatedAt = null;

/**
* @var string
*/
private string $accessToken;
private $accessToken;

/**
* Client constructor.
Expand Down
2 changes: 1 addition & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ClientTest extends TestCase
/**
* @var Client
*/
private Client $client;
private $client;

/**
* @throws GuzzleException
Expand Down

0 comments on commit e7ac1fe

Please sign in to comment.