Skip to content

Commit c7c47d0

Browse files
authored
Merge pull request #376 from hubipe/main
feat: adds PHP 8.4 compatibility
2 parents 8c7bba9 + be6066a commit c7c47d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
php-versions: ['7.4', '8.0', '8.1', '8.2']
22+
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
2323
steps:
2424
- name: Setup PHP
2525
uses: shivammathur/setup-php@v2

src/GraphRequestAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GraphRequestAdapter extends BaseGraphRequestAdapter
2222
* @param AuthenticationProvider $authenticationProvider
2323
* @param Client|null $httpClient
2424
*/
25-
public function __construct(AuthenticationProvider $authenticationProvider, Client $httpClient = null)
25+
public function __construct(AuthenticationProvider $authenticationProvider, ?Client $httpClient = null)
2626
{
2727
parent::__construct($this->getTelemetryConfig(), $authenticationProvider, null, null, $httpClient);
2828
}

0 commit comments

Comments
 (0)