diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index cbf80164313..866bff6d07e 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.4', '8.0', '8.1', '8.2'] + php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/src/GraphRequestAdapter.php b/src/GraphRequestAdapter.php index 06737a5f19b..8ec07880771 100644 --- a/src/GraphRequestAdapter.php +++ b/src/GraphRequestAdapter.php @@ -22,7 +22,7 @@ class GraphRequestAdapter extends BaseGraphRequestAdapter * @param AuthenticationProvider $authenticationProvider * @param Client|null $httpClient */ - public function __construct(AuthenticationProvider $authenticationProvider, Client $httpClient = null) + public function __construct(AuthenticationProvider $authenticationProvider, ?Client $httpClient = null) { parent::__construct($this->getTelemetryConfig(), $authenticationProvider, null, null, $httpClient); }