File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.
88
99- Added Easy Coding Standard.
1010
11+ ### Fixed
12+
13+ - Fixed PHP 8.4 deprecations.
14+
1115## [ 1.0.3] - 2023-09-15
1216
1317### Fixed
Original file line number Diff line number Diff line change 4545 false , // php81Migration
4646 false , // php82Migration
4747 false , // php83Migration
48- false , // php84Migration
48+ true , // php84Migration
4949 false , // phpunit30MigrationRisky
5050 false , // phpunit32MigrationRisky
5151 false , // phpunit35MigrationRisky
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ final class Client implements ClientInterface
4747 * @param string $apiKey
4848 * @param GuzzleClientInterface|null $guzzleClient
4949 */
50- public function __construct ($ apiUrl , $ apiKey , GuzzleClientInterface $ guzzleClient = null )
50+ public function __construct ($ apiUrl , $ apiKey , ? GuzzleClientInterface $ guzzleClient = null )
5151 {
5252 $ this ->apiUrl = $ apiUrl . '/api/3/ ' ;
5353 $ this ->apiKey = $ apiKey ;
@@ -101,7 +101,7 @@ public function testCredentials()
101101 * @return Result
102102 * @throws GuzzleException
103103 */
104- private function sendRequest ($ method , $ path , array $ data = null )
104+ private function sendRequest ($ method , $ path , ? array $ data = null )
105105 {
106106 $ uri = $ this ->apiUrl . $ path ;
107107
You can’t perform that action at this time.
0 commit comments